Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello All,
I have been working on project where i have to find difference between weeks:
I have created this measure but does not calculate properly the difference between those two weeks.
40 compalience - 41 compalience), first row is correct 100% - 50% = 50%, second also is not correct shoud be - 0% and third is not corect sound be ( 50% - 45.5% = 4.5%) and etc
Any ideas, where can be the problem ?
Please try :
ComplinaceMoM%Week =
VAR CurrentYearWeekNumber = SELECTEDVALUE ( 'Date'[Week_Number]) (conteins week numbers 1,2,3,4...)
VAR PreviousYearWeekNumber = CurrentYearWeekNumber - 1
VAR Result =
CALCULATE (
[Compliance](this is a measure ) ,
FILTER (ALL ( 'Date' ),
'Date'[Week_Number] = PreviousYearWeekNumber
)
RETURN
[Compliance]-Result
If the problem still exists, could you provide a sample pbix file after removing sensitive data.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 112 | |
| 108 | |
| 39 | |
| 34 | |
| 27 |