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.
Hi,
I want to compare previos data to current data on a line graph. However, I also need to add a "year" slicer for the other objects. But with the presence of slicer, i need to select two consecutive years in the slicer to be able to show the last year numbers. on the other hand, i just want to show the current data on the other objects.
Thank you
Hi @Anonymous
did you solve your problem?
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Hi,
i think you can do this, with this DAX calculation
PREV Year =
CALCULATE (
SUM ( 'Table'[Value] ),
DATEADD ( 'Table'[Date].[Date], -1, YEAR )
)
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
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.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
88 | |
63 |