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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

dax with pivot table

I need to show a pivot table with more than one column information without drill down, so that I can't use matrix and I must use "Table" and make a "manual" pivot , transforming a specific rows  in a columns. bellow follow my actual scenario  where I would like to transform the order column in row 

cod client           client  project    store  order
123456789client a     adist1  1
123456789client aadist2  2
123456789client abdist1  1
123456789client abdist1  2
123456780client badist1  1
123456780client badist2  2
123456780client bbdist1  1
123456780client bbdist1   2


The desire scenario 

cod client                     client    project      12
123456789   client a        a     dist1dist2
123456789   client abdist1dist1
123456780   client badist1dist2
123456780client bbdist1dist1


I've tried to use a switch function to create a virtual column, but I couldn't. Some Idea in how to transform rows in columns using dax ?

3 REPLIES 3
mahoneypat
Microsoft Employee
Microsoft Employee

What analysis/visualization will you do once you have the pivoted table?  It is likely possible to create the same without the pivot.

 

Regards,

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Fowmy
Super User
Super User

@Anonymous 

The best place to do this kind of transformation in Power Query.

For DAX, check these solutions and it can give you some guides though you will need to hardcode.

https://community.powerbi.com/t5/Desktop/DAX-Pivot-table-with-multiple-values/td-p/580431
https://www.youtube.com/watch?v=9Xv8COs59tc 

________________________

Did I answer your question? Mark this post as a solution, this will help others!.

I accept KUDOS 🙂

YouTube, LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

thanks, but in my scenario I got this tables from analysis Service and I wouldn't like to keep two tables (one normalized and another one not)

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.