Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hoping someone can help.
I have the following fact table
Title | Attribute | Value |
Project A | Project Lead | Staff1 |
Project A | Supporting Lead | Staff2 |
Project B | Project Lead | Staff3 |
Project B | Supporting Lead | Staff2 |
Project C | Project Lead | Staff2 |
Project C | Supporting Lead | Staff3 |
and the below dimension table
StaffID | StaffName |
Staff1 | John |
Staff2 | Mary |
Staff3 | Andrew |
How can I produce the below visual when I have only one field to work on the dimension table?
Project Name | Project Lead | Supporting Lead |
Project A | John | Mary |
Project B | Andrew | Mary |
Project C | Mary | Andrew |
Solved! Go to Solution.
One way is to pull in the dimension attribute into the fact table as a calculated column
see attached
Hi @lennardsomera ,
First of all thank you lbendlin for the quick reply and solution.
Apart from that you can also try the following calculation column:
StaffName = LOOKUPVALUE('Dimension'[StaffName],'Dimension'[StaffID],'Fact'[Value])
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @lennardsomera ,
First of all thank you lbendlin for the quick reply and solution.
Apart from that you can also try the following calculation column:
StaffName = LOOKUPVALUE('Dimension'[StaffName],'Dimension'[StaffID],'Fact'[Value])
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
71 | |
70 | |
38 | |
28 | |
26 |
User | Count |
---|---|
98 | |
96 | |
59 | |
44 | |
40 |