Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi folks,
I have to be honest, this has me beaten so I'm really hoping someone here has an idea how to do this
Samples table of raw data placed into a single table here for ease of reading
| Product | 2019 Returns | 2019 Sales | 2020 Returns | 2020 Sales |
| Apples | 59 | 14556 | 51 | 12965 |
| Oranges | 334 | 634858 | 200 | 397835 |
| Bananas | 34 | 137014 | 21 | 102334 |
| Grapes | 125 | 1270420 | 119 | 825232 |
| Total | 549 | 2056848 | 388 | 1338366 |
I have the following measure
| Product | Return YTD | Return LY | Return Ratio | Return YTD Total | Return LY Total |
| Apples | 4053 | 3934 | 0.97 | 267 | 290 |
| Oranges | 526 | 503 | 0.96 | 267 | 290 |
| Bananas | 248 | 204 | 0.83 | 267 | 290 |
| Grapes | 98 | 144 | 1.47 | 267 | 290 |
| Total | 267 | 290 | 1.09 | 267 | 290 |
| Product | Return YTD | Return LY | Return Ratio | Return YTD Total | Return LY Total | Adjusted Ratio | Adjusted Return YTD Total | Adjusted Return LY Total |
| Apples | 4053 | 3934 | 0.97 | 267 | 290 | |||
| Oranges | 526 | 503 | 0.96 | 267 | 290 | |||
| Bananas | 248 | 205 | 0.83 | 267 | 290 | |||
| Grapes | 98 | 144 | 1.47 | 267 | 290 | |||
| Total | 267 | 290 | 1.09 | 267 | 290 |
@DaveCor This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.