Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

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