Saludos
Tengo la siguiente fรณrmula:
Concatenar(Aรฑo(Hoy()),"-",COUNT(SELECT(Encabezado[Orden de Servicio],[Id Operativo]=[_THISROW].[Id Operativo],TRUE))+1)
Esta fรณrmula me genera un consecutivo segรบn el operativo seleccionado, es decir que si encuentra 5 registros del operativo seleccionado entonces esta fรณrmula me muestra 2022-6
hasta acรก todo muy bien y funcionando al momento de agregar, pero si edito me genera de nuevo el consecutivo y la idea es que cuando edite me cargue el que ya esta guardado.
Solved! Go to Solution.
Please try the formula in the initial value of the column.
Define App formulas and Initial values - AppSheet Help
You may also have another issue with your formula. If an existing record in between is deleted, the newly added row may create a duplicate consecutive number because the formula is based on COUNT() function.
Please try the formula in the initial value of the column.
Define App formulas and Initial values - AppSheet Help
You may also have another issue with your formula. If an existing record in between is deleted, the newly added row may create a duplicate consecutive number because the formula is based on COUNT() function.
Hola Suvrutt_Gurjar
Tienes toda la razรณn sobre el count() como harรญas cuando se trata de generar un numero de documento como factura o remisiรณn, cual seria la mejor opciรณn
Voy a probarlo en el valor inicial de la columna
Gracias
tendras otro problema, y es que si dejas la formula alli, cuando varios usuarios hagan al mismo tiempo la funcion, prueba y veras
User | Count |
---|---|
35 | |
30 | |
30 | |
20 | |
18 |