Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I have two tables:
1. A table that holds Quartiles by Different levels of a company (Company Location, Company Grouping, etc all in one column).
2. A table that holds the company hierarchy with the Company Location column, Company Grouping in separate columns.
I wanted to create a DAX measure that looks up the quartile value based on Company Location. I created the measure as the below, but the bold column is getting an error stating the column name cannot be found. Both columns are text that are being compared. Both columns have matching data.
What am I doing wrong?
Solved! Go to Solution.
Hi @Tangi12 ,
If you create a calculated column rather than a measure then the error will not appear.
The reason is LOOKUPVALUE dax function returns a value fro every row, so you can't use it as a measure.
Thanks,
Pragati
Thanks for the responses! I thought that may be the answer, which is unfortunate since it is a live connect and I cannot manipulate the data...
this function require the values must be identical exactly
Hi @Tangi12 ,
If you create a calculated column rather than a measure then the error will not appear.
The reason is LOOKUPVALUE dax function returns a value fro every row, so you can't use it as a measure.
Thanks,
Pragati
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
12 | |
9 | |
9 | |
9 |
User | Count |
---|---|
19 | |
14 | |
14 | |
13 | |
13 |