Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi All,
I am hoping someone can help me with the rankx dax measure. Below is a sample table
SourceId | Symbol | Amount | Date |
A | A | $7,888.50 | 01/01/20 |
B | A | $8,751.00 | 01/01/20 |
C | A | $970.75 | 01/01/20 |
A | B | $958.32 | 01/02/20 |
B | B | $1,303.35 | 01/02/20 |
C | B | $4,382.50 | 01/02/20 |
A | C | $1,022.00 | 01/03/20 |
B | C | $864.60 | 01/03/20 |
C | C | $432.10 | 01/03/20 |
What i would like to do is rank each symbol based on amount by exchange by symbol. In other words i am ranking A's only against other A's, B's against other B's etc. This would have to be dynamic where i can adjust the date and the numbers adjust accordingly. It could be using the date column or a related calendar table. I would aslo like to be able to insert a filter at the visual level without the rankings changing. The bottom represents the info i am looking for I tried to attached a photo of the b visuals but i was getting an error so imagine the tables below as if there are 3 seperate BI table visuals. Each visual would have a visual level filter for source ID. Any help would greatly appreciated!
Symbol | Amount | Rank | Symbol | Amount | Rank | Symbol | Amount | Rank | ||
A | 7888.5 | 2 | A | 8751 | 1 | A | 970.75 | 3 | ||
B | 958.32 | 3 | B | 1303.35 | 2 | B | 4382.5 | 1 | ||
C | 1022 | 1 | C | 864.6 | 2 | C | 432.1 | 3 |
Solved! Go to Solution.
Hi @Anonymous ,
You can create 3 measures
Hi @Anonymous ,
You can create 3 measures
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
67 |