This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
Could someone please hep to replace the values in editor
I have 2 tables
Table 1:
| Id | Name |
| 1 | America |
| 2 | Australia |
| 3 | Denmark |
| 4 | India |
| 5 | China |
Table 2:
| Id |
| 2 |
| 3 |
| 5 |
| 2 |
| 5 |
| 5 |
| 1 |
| 2 |
| 3 |
| 4 |
Now I want the Id's in Table 2 to be replaced in single shot with Name from Table 1 since I have 'n' number of rows in reality
Solved! Go to Solution.
Try this calculated column
Column = LOOKUPVALUE(Table1[Name],Table1[Id],Table2[Id])
Try this calculated column
Column = LOOKUPVALUE(Table1[Name],Table1[Id],Table2[Id])
Hi @mahra-in
I believe you can use Merge Queries from the Home Tab of the Query Editor to get Names beside each Table 2 ID.
Then you can delete the ID column
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 14 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 47 | |
| 39 | |
| 24 | |
| 20 | |
| 20 |