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 experts,
I'm trying to get a rate (%) that will be the sum of Hours / Max value of Estimated filtered by Code "SR" for the latest month.
Here is a sample of my data.
I have been stuck here for hours... Any help is much appreciated.
Thank you
Solved! Go to Solution.
So for example, for July in your example data, this measure should return (.5+.75+.25)/9.96 = 15.06%?
Your measure would look like this:
SR Rate = CALCULATE( SUM(Table1[Hours]) / MAX(Table1[Estimated]), FILTER(Table1, Table1[Code] = "SR" && MONTH(Table1[Date]) = MONTH(NOW())-1)
So for example, for July in your example data, this measure should return (.5+.75+.25)/9.96 = 15.06%?
Your measure would look like this:
SR Rate = CALCULATE( SUM(Table1[Hours]) / MAX(Table1[Estimated]), FILTER(Table1, Table1[Code] = "SR" && MONTH(Table1[Date]) = MONTH(NOW())-1)
Hi @Cmcmahan
thank you vey much for your reply.
It did work indeed.
Could you please advice what I should change in the formula to get result for the previous month as well?
Thanks again!
July is the current previous month. On September first, this would calculate for August data.
If you want to change what month is being calculated, change the month filter criteria.
MONTH(Table1[Date]) = MONTH(NOW())-1
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 |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 106 | |
| 39 | |
| 33 | |
| 25 |