- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Keep ranking value with filter
Hello Community,
I am trying to represent the global ranking position for an entity and I get it. But when I want to show only one of the entities the ranking value becomes 1. I understand why it does this, but I don't manage to keep its actual position in the ranking even if I am filtering the visual by a single entity.
Can this be done?
Best Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try
Ranking =
RANKX (
ALL ( 'Dim Grupo'[GRUPO_ABREV] ),
CALCULATE ( SUM ( 'Fact total'[Primas emitidas] ) ),
,
DESC,
SKIP
)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does not work
I want to keep the original value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are there any other columns in your table visual, as opposed to measures ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The "Premium Ranking (Product Ranking)" is the metric with the overall ranking. The second ranking metric is the DAX metric I have attached above and finally, "Ranking (community)" is the metric that contains the code you have provided me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to share a PBIX with any confidential information removed ? I've tried the code I wrote against one of my models and it seems to work correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm sorry, I'm afraid that's not possible.
If I use the metric you have provided me and if you filter by one of the categories that form "GROUPS_ABREV" the value it takes is 1 because it is the only row that is showing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you post the query generated for the table visual from Performance Analyzer?

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
03-18-2024 04:56 AM | |||
07-30-2024 12:36 PM | |||
09-03-2024 07:18 AM | |||
07-01-2024 05:05 PM | |||
08-01-2024 11:48 AM |
User | Count |
---|---|
14 | |
12 | |
11 | |
10 | |
9 |