Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hola, tengo un problema:
Los datos 452.66 no se repiten como los datos anteriores
Necesito que los datos se repitan de jueves a miércoles y en el campo de la primera imagen toma el valor de la anterior
Jueves
Por favor, ayúdame
Thanks
Sebastián
Solved! Go to Solution.
HI @sebastianqc,
¿Así que quieres usar el siguiente valor para reemplazar el actual? Si este es un caso, puede modificar la fórmula para usar 'next value' para reemplazar 'anterior':
Formatted =
VAR _prev =
LOOKUPVALUE ( T2[Value], T2[Index], [Index] - 1 )
VAR _next =
LOOKUPVALUE ( T2[Value], T2[Index], [Index] + 1 )
VAR _status =
IF ( [Value] = _prev || [Value] = _next, 1, 0 )
RETURN
IF ( _status <> 1, _next , [Value] )
saludos
Xiaoxin Sheng
HI @sebastianqc,
Parece que los registros de datos de origen contienen filas de excepción que rompen el estado 'continuar' y desea dar formato a estos registros de excepción con los siguientes registros para solucionar este problema, ¿verdad?
Si este es un caso, puede hacer referencia a la siguiente columna calculada:
Formatted =
VAR _prev =
LOOKUPVALUE ( T2[Value], T2[Index], [Index] - 1 )
VAR _next =
LOOKUPVALUE ( T2[Value], T2[Index], [Index] + 1 )
VAR _status =
IF ( [Value] = _prev || [Value] = _next, 1, 0 )
RETURN
IF ( _status <> 1, _prev, [Value] )
Aviso: esta fórmula requiere un campo de índice, si la tabla contiene un campo de valor único (número, tipo de fecha), puede usarlo para reemplazar
[Index] parte.
saludos
Xiaoxin Sheng
@v-shex-msft Gracias por tu recomendación, pero no funcionó para mí.
Ahora se ve así:
HI @sebastianqc,
¿Así que quieres usar el siguiente valor para reemplazar el actual? Si este es un caso, puede modificar la fórmula para usar 'next value' para reemplazar 'anterior':
Formatted =
VAR _prev =
LOOKUPVALUE ( T2[Value], T2[Index], [Index] - 1 )
VAR _next =
LOOKUPVALUE ( T2[Value], T2[Index], [Index] + 1 )
VAR _status =
IF ( [Value] = _prev || [Value] = _next, 1, 0 )
RETURN
IF ( _status <> 1, _next , [Value] )
saludos
Xiaoxin Sheng
Copio las imágenes de mi problema y DAX
Problema
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.