Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
lennardsomera
Regular Visitor

Help With Visuals from Unpivot

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

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

One way is to pull in the dimension attribute into the fact table as a calculated column

 

lbendlin_0-1732994379244.png

see attached

View solution in original post

Anonymous
Not applicable

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])

vtangjiemsft_0-1733109737869.png

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. 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

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])

vtangjiemsft_0-1733109737869.png

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. 

lbendlin
Super User
Super User

One way is to pull in the dimension attribute into the fact table as a calculated column

 

lbendlin_0-1732994379244.png

see attached

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.