Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi All,
Really new to Power Bi. Odd behavior on the ranking formula. Ranking works as I want for YTD until I add the column License Status. When I do that all of the different statuses get their own ranking but I want it as just a ranking on overall YTD sales.
Solved! Go to Solution.
You will need to provide the Value parameter for RANKX, and compute that with REMOVEFILTERS.
Hi @Sirhawk3017 ,
Base on your description, it seems like the ranking value not correct when adding the column [License Status]. Please update the formula of measure [FM Territory Rank] as below and check if it can return the expected result...
FM Territory Rank =
RANKX(
ALL(FM_INFO[Agreement ID]),
[FM Sales YTD],
,
DESC,
DENSE
)
If the above one can't help you get the expected result, please provide some raw data in your tables(exclude sensitive data) with Text format and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi @Sirhawk3017 ,
Base on your description, it seems like the ranking value not correct when adding the column [License Status]. Please update the formula of measure [FM Territory Rank] as below and check if it can return the expected result...
FM Territory Rank =
RANKX(
ALL(FM_INFO[Agreement ID]),
[FM Sales YTD],
,
DESC,
DENSE
)
If the above one can't help you get the expected result, please provide some raw data in your tables(exclude sensitive data) with Text format and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Thank you so much this did the trick!
You will need to provide the Value parameter for RANKX, and compute that with REMOVEFILTERS.
what would that look like if I were to make it into a measure?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 25 |