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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.