Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
hola a todos
Soy newbi en power bi
tienen esta mesa
así que lo cambio a la matriz a
y ahora necesito mostrar la diferencia entre 2019 y 2020 rahter que toatal becuse no necesito total
(differenceValue-2020-2019)
¿cómo puedo hacer eso?!
Solved! Go to Solution.
@mohammedmqi , crear una tabla de año/fecha separada y usar una fórmula como esta
Este año: CALCULATE(sum('Table'[Amount]),filter(ALL('Date'),'Date'[Year]-max('Date'[Year])))
Last Year ? CALCULATE(sum('Table'[Amount]),filter(ALL('Date'),'Date'[Year]-max('Date'[Year])-1))
diff -Este año]-[Año pasado]
diff % á divide([This Year]-[Last Year ],[Last Year ])
Proporcione sus comentarios y consejos para nuevos videos
Tutorial Series Dax Vs SQL Direct Query PBI Consejos
Apreciamos tus Felicitaciones.
@mohammedmqi , crear una tabla de año/fecha separada y usar una fórmula como esta
Este año: CALCULATE(sum('Table'[Amount]),filter(ALL('Date'),'Date'[Year]-max('Date'[Year])))
Last Year ? CALCULATE(sum('Table'[Amount]),filter(ALL('Date'),'Date'[Year]-max('Date'[Year])-1))
diff -Este año]-[Año pasado]
diff % á divide([This Year]-[Last Year ],[Last Year ])
Proporcione sus comentarios y consejos para nuevos videos
Tutorial Series Dax Vs SQL Direct Query PBI Consejos
Apreciamos tus Felicitaciones.
gracias por la respuesta
yo uso esto para este yaer
This Year = CALCULATE(sum(GENERALJOURNALACCOUNTENTRY[AMOUNT]),filter(ALL(GENERALJOURNALACCOUNTENTRY[DateGJ].[Year]),GENERALJOURNALACCOUNTENTRY[DateGJ].[Year]=max(GENERALJOURNALACCOUNTENTRY[DateGJ].[Year])))
y este último año
Last Year = CALCULATE(sum(GENERALJOURNALACCOUNTENTRY[AMOUNT]),filter(ALL(GENERALJOURNALACCOUNTENTRY[DateGJ]),GENERALJOURNALACCOUNTENTRY[DateGJ]=max(GENERALJOURNALACCOUNTENTRY[DateGJ])-1))
por lo que tengo que volver a buscar el este cálculo para asegurarse de que
Volveré después de eso
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.