The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.