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.
Hello!
I have 4 tables full of user data connected by a user table called Headcount. It connects by several foreign keys to the four different tables where I'm already using rankx to calculate ranks and scores to rank them on. Below is an example of the tables for reference:
Headcount
Agent1 | AgentID | ADID |
Fred | 2321315 | FFED1 |
Chuck | 5555432 | CHUCKY1 |
Larry | 3333333 | LARRY9 |
Paul | 2212345 | PAUL89 |
`Headcount`[ADID] > `QA`[AgentID]
1) QA
Agent1 | AgentID | Eval Score % |
Fred | Freddy | 65% |
Chuck | Chucky1 | 85% |
Larry | Larry | 90% |
Paul | Paully | 75% |
`Headcount`[Agent1] > `Surveys`[Agent1]
2) Surveys
Agent1 | AgentID | Score |
Fred | Freddy | 65% |
Chuck | Chucky1 | 85% |
Larry | Larry | 90% |
Paul | Paully | 75% |
`Headcount`[Agent1] > `ADH`[Agent1]
3) ADH
Agent1 | AgentID | ADH % |
Fred | Freddy | 65% |
Chuck | Chucky1 | 85% |
Larry | Larry | 90% |
Paul | Paully | 75% |
`Headcount`[Agent1] > `AHT`[AHT %]
4) AHT
Agent1 | AgentID | AHT % |
Fred | Freddy | 65% |
Chuck | Chucky1 | 85% |
Larry | Larry | 90% |
Paul | Paully | 75% |
I'm performing multiple ranks across all these tables that all tie back to the headcount table. How do I build the dax in a way that will still utilize my relationships in my datamodel without referring to the individual user identifying field in each table? Below is one of my current rank formulas for reference.
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
13 | |
11 | |
9 | |
6 |