The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello experts!
I need help with RANKX.
I have a sales table :
Date | Emp | Group | Sales |
31-Dec-23 | Lana | Sales | 650,000 |
31-Dec-23 | Nick | Sales | 500,000 |
31-Dec-23 | Mary | Sales | 400,000 |
31-Dec-23 | Anna | Sales | 450,000 |
31-Dec-23 | Zaza | Ops | 30000 |
31-Dec-23 | Jiji | Eng | 30000 |
30-Nov-23 | Nick | Sales | 200,000 |
30-Nov-23 | Mary | Sales | 300,000 |
30-Nov-23 | Anna | Sales | 340,000 |
30-Nov-23 | Zaza | Ops | 300000 |
30-Nov-23 | Jiji | Eng | 300000
|
I need to rank employees only form Group = "Sales" and only the ones that workd previous month... O.O
So the outcome for december ranking would be
Nick 1
Anna 2
Mary 3.
Any suggestions?
Solved! Go to Solution.
Hi,
PBI file attached.
Hope this helps.
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LeanAndPractise(Everyday) ) |
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
79 | |
71 | |
48 | |
39 |
User | Count |
---|---|
136 | |
108 | |
70 | |
64 | |
57 |