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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Scenario: I work for a CPG company that is building out our BI dashboards. One thing we like to look at is our performance in a given retailer compared to that retailer's rest of market (ROM). I'm trying to write a formula that does this, but am coming up short.
The user picks the retailer via a slicer at the top of the page.
Here is what I have so far:
I created a calculated column in Table1 that pulls in the ROM value for each given retailer and named it [ROM]
Working formula:
It's not clear (at least to me) from your example what data you are starting with.
Normally you would calculate the 2 values you want to compare and store them in VARs
Then do the division using the 2 VARs
That also allows you to return each var independantly in order to debug your progress
Performance Against ROM =
VAR ourperformance = ..some calculation
VAR ROM = ...som calculation
RETURN DIVIDE(ourperformance,ROM)
Help when you know. Ask when you don't!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 6 | |
| 6 |