Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 @Anonymous ,
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 @Anonymous ,
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
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |