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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
GentleGrid
New Member

Putting column data in rows for table

I have a dim table with columns and values like this:

GentleGrid_3-1713318812936.png

 

I am trying to get a visualization table that looks like this:

GentleGrid_2-1713318695425.png

When the user selects a project with the slicer, the table should change to the project that has been selected.

 

Is there a standard way to handle this in Power BI? I know I could unpivot the dim table, but this would obviously screw up the data relationships.

 

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@GentleGrid 

here is a workaround for you

create a new table

11.PNG

 

column 1 sort by sort column

 

then create a measure

Measure =
SWITCH(SELECTEDVALUE('Table (2)'[Column1]),"Project",max('Table'[name]),"Size",max('Table'[size]),"Owner",max('Table'[owner]),"Weight",max('Table'[weight]),"Dimension",max('Table'[dimensions]))
11.PNG
 
pls see the attachment below
 

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
ryan_mayu
Super User
Super User

@GentleGrid 

here is a workaround for you

create a new table

11.PNG

 

column 1 sort by sort column

 

then create a measure

Measure =
SWITCH(SELECTEDVALUE('Table (2)'[Column1]),"Project",max('Table'[name]),"Size",max('Table'[size]),"Owner",max('Table'[owner]),"Weight",max('Table'[weight]),"Dimension",max('Table'[dimensions]))
11.PNG
 
pls see the attachment below
 

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




That worked, thanks a lot!

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors