Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I want to use PATH() & related DAX functions (PATHITEM, PATHITEMREVERSE, etc.) however my data set from HR is expanded each month to include the latest updates (employees are added, lost, switch teams & report to new managers, etc.)
How can I use the PATH() function with the below type of data?
Thank you!
Solved! Go to Solution.
FYI to everyone - I was able to solve this myself by creating 2 new columns that concatenate the Year-Month-ManagerID & Year-Month-EmployeeID and then feeding those 2 columns into the PATH statements. Works great!
FYI to everyone - I was able to solve this myself by creating 2 new columns that concatenate the Year-Month-ManagerID & Year-Month-EmployeeID and then feeding those 2 columns into the PATH statements. Works great!
Hi:
Your table can be set up like below.
Then here are some calc columns with path measures:
I hope this solves your question. Thanks..
Hi Whitewater - thanks for the reply but I know how the data "should" be setup for the PATH() function - problem is my data is structed correctly BUT it's monthly data in a single table so I need the PATH functions to only look at 1 month at a time...
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
49 | |
26 | |
21 | |
15 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |