Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
mikesqu
Helper I
Helper I

Lookupvalue Missing Values

Hi all, 

 

Hopefully someone can help me with this issue. I have two tables, joined by a source name. On the secondary table I have the source media stored, so I am using the following formula on the main table, however it is not pulling through for each of the records. As you can see below only 1 of the Googles is showing as PPC, and 1 of the Referrals as Inbound; why would it be missing the others?

 

Media = LOOKUPVALUE(Source[Media],Source[Source Name], 'Clients'[Source])
 
 
mikesqu_0-1667580754945.pngmikesqu_1-1667580788462.png

 

Thanks for any assistance

1 ACCEPTED SOLUTION
mikesqu
Helper I
Helper I

FYI I just duplicated the source table and the lookupvalue worked perfectly. Must have been a bug in the system. 

View solution in original post

3 REPLIES 3
mikesqu
Helper I
Helper I

FYI I just duplicated the source table and the lookupvalue worked perfectly. Must have been a bug in the system. 

v-henryk-mstf
Community Support
Community Support

Hi @mikesqu ,

 

If you look at the formula alone, it should be caused by no query result in the target table (Source[Source Name]). You can refer to the following blog for a detailed description of this function.

Power BI LOOKUPVALUE | Examples of LOOKUPVALUE Dax Function (wallstreetmojo.com)


Also, if the problem still exists, can you provide the relevant test data and describe it, so that I can answer it for you as soon as possible.


Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Henry,

 

This is what I don't understand. The image below is directly from the clients table, showing that the new media column using the formula above is not recognising that the both cases of Google - Desktop are the same, as well as the three referrals. 

mikesqu_0-1667928465225.png

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.