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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I am trying to build a Relative Margin Analysis on Power BI.
Here, in the line graph, I want to use Rank (see the image below) instead of the Customer Name in order to squeeze the graph. Otherwise, the graph becomes quite big and requires a slider to navigate.
I've created the rank column as a measure, but I cannot put that as X axis instead of the Customer name. I've tried creating a similar column but it is not working.
I'd really appreciate your help on how I can use this ranking instead of Customer Name.
Thanks.
What do you mean by, "Modify your measure to return the value for each rank"?
Your measure needs to read the value of the disconnected table column (for example , 3) and then find out who has rank 3. etc.
Use a disconnected table that has all possible ranks in a column. Use that column for the x axis. Modify your measure to return the value for each rank.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!