Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I am a stuck trying to create a new measure using PATH.
I have the following data, one column has the CostCenterID, the next the CostCenterID of the Parent.
I want to create a new measure that will display the path of the CostCenter like this:
Name Parent Path
| 501 | 501 | |
| 501-01 | 501 | 501|501-01 |
| 501-01-01 | 501-01 | 501|501-01|501-01-01 |
| 501-01-01-01 | 501-01-01 | 501|501-01|501-01-01|501-01-01-01 |
| 501-01-01-02 | 501-01-01 | 501|501-01|501-01-01|501-01-01-02 |
| 501-01-01-03 | 501-01-01 | 501|501-01|501-01-01|501-01-01-03 |
| 501-01-01-04 | 501-01-01 | 501|501-01|501-01-01|501-01-01-04 |
No matter what I do I get the error:
Couldn't load the visual data for this visual
Calculation error in measure. A table of multiple values was supplied where a single value was expected.
Thanks for you help
Solved! Go to Solution.
I created it as a new column instead of a measure and it worked. Power bi document does not say it needs to be created a column specifically but before example, the text says "The following example creates a calculated column that lists all the managers for each employee."
Refer
https://docs.microsoft.com/en-us/dax/path-function-dax
I created it as a new column instead of a measure and it worked. Power bi document does not say it needs to be created a column specifically but before example, the text says "The following example creates a calculated column that lists all the managers for each employee."
Refer
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!