Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have an issue where I've created a RANKX measure that at seemingly random skips a number/rank even though the measure/value that it's ranking on is different.
The base value/measure:
Avg A= AVERAGE(v_Sales[A]) / 1000
Rank measure:
Rank_ValueA =
RANKX(
FILTER(
ALLEXCEPT('v_Stores', dimMarket[Market]),
[Avg A] > 0
),
[Avg A],
,
,
Dense
)
Since I have different markets I want to rank within that market, which is why I have the "ALLEXCEPT"
Example of where it goes wrong, 47 is missing (first column is ID)
Another example, 60 is missing
On the table I have a filter for that market and a datefilet
Solved! Go to Solution.
Update, I'm stupid, realised there was a global filter that affected the ranking, which I didn't think would affect...
So incorportated that into the rank and now it's correct
What is
ALLEXCEPT('v_Stores', dimMarket[Market])
supposed to accomplish?
So that it ranks per market and not the total, at least that's the plan
You'd need to summarize rather than filter.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
That Excel file only has Store No. and Value columns. Seems to be missing the Market column?
Oh, yeah for this example they're all in the same market. Since I want to have separate matrixes for all markets and rank per market
Update, I'm stupid, realised there was a global filter that affected the ranking, which I didn't think would affect...
So incorportated that into the rank and now it's correct
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |