Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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
User | Count |
---|---|
66 | |
60 | |
47 | |
33 | |
32 |
User | Count |
---|---|
86 | |
75 | |
56 | |
50 | |
45 |