The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
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 August 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
77 | |
73 | |
47 | |
39 |
User | Count |
---|---|
137 | |
108 | |
69 | |
64 | |
56 |