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
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
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.