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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.