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.
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! 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |