Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I have following issue. I have two tables with following information
| Table 1 | |||
| PanelID | ReaderID | Name | |
| 1 | 1 | Reader 1 | |
| 1 | 2 | Reader 2 | |
| 1 | 3 | Reader 3 | |
| 1 | 4 | Reader 4 | |
| 2 | 1 | Reader 5 | |
| 2 | 2 | Reader 6 | |
| 2 | 3 | Reader 7 | |
| Table 2 | |||
| PanelD | ReaderID | Events | Name? |
| 1 | 1 | x | |
| 2 | 1 | y | |
| 2 | 1 | z | |
| 1 | 2 | d | |
| 1 | 3 | d |
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?
Solved! Go to Solution.
hello @Nukkumatti
Create a calculated column with this dax:
Name = LOOKUPVALUE(Table1[Name],Table1[PanelID],Table2[PanelD],Table1[ReaderID],Table2[ReaderID])
hello @Nukkumatti
Create a calculated column with this dax:
Name = LOOKUPVALUE(Table1[Name],Table1[PanelID],Table2[PanelD],Table1[ReaderID],Table2[ReaderID])
Thank you Vvelarde. Worked perfectly! 🙂
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 130 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |