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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Nukkumatti
Regular Visitor

Problem to get third column value using two other columns

Hello,

 

I have following issue. I have two tables with following information

Table 1   
PanelIDReaderIDName 
11Reader 1 
12Reader 2 
13Reader 3 
14Reader 4 
21Reader 5 
22Reader 6 
23Reader 7 
    
Table 2   
PanelDReaderIDEventsName?
11x 
21y 
21z 
12d 
13d 

 

Now I wan't to add the Name column to the Table 2. The Panel ID is unique and the Reader name is based on the Panel ID and to the ReaderID. How can I do this?

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

hello @Nukkumatti

 

Create a calculated column with this dax:

 

Name = LOOKUPVALUE(Table1[Name],Table1[PanelID],Table2[PanelD],Table1[ReaderID],Table2[ReaderID])




Lima - Peru

View solution in original post

2 REPLIES 2
Vvelarde
Community Champion
Community Champion

hello @Nukkumatti

 

Create a calculated column with this dax:

 

Name = LOOKUPVALUE(Table1[Name],Table1[PanelID],Table2[PanelD],Table1[ReaderID],Table2[ReaderID])




Lima - Peru

Thank you Vvelarde. Worked perfectly! 🙂

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.