Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi Moshe,
Just based on your data here, please try the formula below.
Measure = VAR thisYearTotal = SUM ( 'DB_sample'[Sales] ) VAR lastYearTotal = CALCULATE ( SUM ( 'DB_sample'[Sales] ), FILTER ( ALL ( DB_sample[Year] ), DB_sample[Year] = MIN ( DB_sample[Year] ) - 1 ) ) RETURN DIVIDE ( thisYearTotal - lastYearTotal, lastYearTotal, 0 )
Best Regards,
Dale
Hi @thems5,
Can you share your file? Please refer to the snapshot below. Double click the menu "Modeling".
Best Regards,
Dale
Thank you.
I cannot find the way to attach a file here so I attached it in my email reply.
Regards
Moshe
Thank you very much Dale.
The good news - it works (partially).
The bad news -
a. it only works for the total, not for all columns.
b. I coul not find where to change the decimal number to a percentage.
I attach a screen shot.
Can you help?
Thanks
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
75 | |
69 | |
68 | |
45 | |
41 |
User | Count |
---|---|
63 | |
41 | |
30 | |
28 | |
28 |