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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I am new to DAX, teaching myself and having trouble with a basic example using LOOKUPVALUE in Power BI Desktop. I know I'm missing something simple but I can't fathom it out. Any help would be much apprecaited.
I have imported two tables from Excel, People and Counties. The only transformation I've made is to use the first row as column names on both tables which I've then saved and closed in the Transform Data window (Power Query Editor).
I want to setup a measure to retrieve the County from the Counties table based on the person's City in the People Table. To keep things simple I've removed the relationship between the tables:
The People table looks like this:
The Counties table looks like this:
When I try to create a new measure on the People Table to retrieve the County from the Counties table I get several errors.
The first error appears in the formula bar, "Cannot find name '[City]'" and I also get an error about a single value for the column City in the table People:
Thanks!
Solved! Go to Solution.
Hi @DJSAM
You need a calculated column with that same code in the People table NOT a measure
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Hi @DJSAM
You need a calculated column with that same code in the People table NOT a measure
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
7 | |
4 | |
3 |