This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi Guys,
I have a simple problem with Path function. The situation is I have an Employees table which contains the following data:
ACTIVE NAME MANAGER
True Ali Ara
False Ali Roger
So I need to use Path function with IF statement that only returns Path function when ACTIVE is True. For this situation I used this formule:
IF('Employees'ACTIVE = "Ture", Path('Employees'[NAME],'Employees'[MANAGER]),BLANK())
But unfortunately I got this error:
Each value in 'Employees'[NAME] must have the same value in 'Employees'[MANAGER]. The value 'Ali' has multiple values.
Thanks in advance!
Solved! Go to Solution.
Hi @Anonymous ,
I didn't get an error when using the sample data you have provided.
Best Regards,
Jay
Hi @Anonymous ,
I didn't get an error when using the sample data you have provided.
Best Regards,
Jay
I really dont understand why it does now works. I used the same formule as your hahah. But thanks it works now!
Hi mohityash,
I understand but If I filter on Active True then it will be identical. That is why I need to use IF statement to filter Active True. But it seems like that the PATH function does not listen to the IF statement.
So is there any solution for this issue?
Thanks you!
In path function, However, if there are two identical employee IDs that have different manager IDs, the PATH function returns an error. A single manager need to be assign for Ali.
Check for reference:https://docs.microsoft.com/en-us/dax/path-function-dax
Anyone who can solve my issue?
Thanks in advance!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 25 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 60 | |
| 48 | |
| 29 | |
| 23 | |
| 23 |