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.
Solved! Go to Solution.
Since I had to dril down to Week and as well I had to take a differnet approach. I created separate measures for each and created different views and used bookmarks and buttons to switch between them.
Hi @Anonymous,
Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered to close this topic?
Regards,
Daniel He
Since I had to dril down to Week and as well I had to take a differnet approach. I created separate measures for each and created different views and used bookmarks and buttons to switch between them.
Hi @Anonymous,
Based on my test, you could refer to below step:
Sample data:
Create below formula:
Measure = var a=MONTH(PREVIOUSMONTH('Table1'[Date])) var b=IF(CALCULATE(SUM(Table1[Sales]),FILTER(ALL('Table1'),MONTH('Table1'[Date])=a))=BLANK(),BLANK(),CALCULATE(SUM(Table1[Sales]),FILTER(ALL('Table1'),MONTH('Table1'[Date])=a))) return (CALCULATE(SUM(Table1[Sales]))-b)/b
Result:
You could also download the pbix file to have a view.
Regards,
Daniel He
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 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |