Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hola a todos
Quiero calcular la diferencia % de (Semana actual- Semana anterior). crearon dos nuevas columnas, es decir, la última fecha y la semana anterior.
A continuación se muestra el ejemplo de lo que estoy buscando quiero crear una nueva columna donde debería ver la Diffrence %
Id. de producto "142263-013" para la diferencia wk actual es "-15%"(100%-115%) & "142263-013" -63%(100%-163%)
Tenga en cuenta que Forecastintegrity% es columna calucada
saludos
Día
Hola @harirao ,
Vaya al editor de consultas>agregar columna>Columna de índice:
A continuación, puede crear una columna calculada para lograr lo que necesita:
Column =
var a=CALCULATE(MAX('Table'[Forcastintergity%]),FILTER('Table','Table'[Index]<EARLIER('Table'[Index])&&'Table'[Product ID]=EARLIER('Table'[Product ID])))
Return
IF(a=BLANK(),BLANK(),'Table'[Forcastintergity%]-a)
Y verás:
O puede crear una medida en su lugar:
Measure =
var a=CALCULATE(MAX('Table'[Forcastintergity%]),FILTER(ALL('Table'),'Table'[Index]<SELECTEDVALUE('Table'[Index])&&'Table'[Product ID]=SELECTEDVALUE('Table'[Product ID])))
Return
IF(a=BLANK(),BLANK(),MAX('Table'[Forcastintergity%])-a)
Y verás:
Para el archivo .pbix relacionado, haga clic aquí.
Gracias por su solución,
Tenga en cuenta: Forecastintegrity% es medida calculada, ambas soluciones no está funcionando.
saludos
Día
Hola @harirao ,
Lo siento pensé Que Forecastintegrity% es una columna calculada, si es una medida, sería mejor que primero cambiar a una columna calculada,¿podría pls aconsejarme la expresión dax de Forecastintegrity% si no sabe cómo cambiar?
O si es posible, ¿podría saldar su archivo .pbix a un negocio de onedrive y compartir el enlace con nosotros?
Hola @v-kelly-msft ,
Por favor, encuentre el siguiente dax utilizado para los cálculos
Cuando creé la columna para Forecastintegrity% no estaba obteniendo el resultado correcto, intenté hacer "No resumir" me estaba obteniendo 100%.
saludos
Día
Hola @harirao ,
¡Perdón por la respuesta tardía!
He comprobado las columnas calculadas [Test CURP], [Test SFRP] y su medida [Forecastintegrity%], resultados bajo los cuales son correctos.
Entonces, ¿me aconsejarían la lógica sobre las columnas con la medida? Lo necesito para modificarlos.
@harirao te refirió a los videos que publiqué anteriormente, lo que no funciona exactamente si has visto estos videos.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@harirao hay tantos mensajes en inteligencia del tiempo aquí pocos enlaces
https://www.youtube.com/watch?v=jclWnA7pEvY
https://www.youtube.com/watch?v=jBPLm5BHl2c
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.