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.
In Power BI Desktop, I have added this in as a New Column which has gave me the results I am looking for - Forename1:People1 = LOOKUPVALUE('Workforce Profile'[Forename1:People],'Workforce Profile'[Occupancy Reference],'Sickness Absence'[Occupancy Reference]), however if I wanted to write this as a Query in the Advanced Editor to be able to automatically add this New Column in, how would I go about it?
Hi @EWilson-1412,
In Query Editor, you can use Merge Queries feature to merge tables Workforce Profile and Sickness Absence based on 'Workforce Profile'[Occupancy Reference] and 'Sickness Absence'[Occupancy Referenc] column. Then expand new column and choose 'Workforce Profile'[Forename1:People] column.
See:
https://www.youtube.com/watch?v=hVWSxX-uF-0
https://docs.microsoft.com/en-us/power-bi/desktop-shape-and-combine-data#combine-data
Best REgards,
Qiuyun Yu
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 | |
94 | |
80 | |
67 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |