Forum Discussion

campbellmurphy's avatar
5 years ago
Solved

Pivot or Transpose Table using DAX rather than Power Query

Hi Everyone, I have Table 1 (below) which was created using the DAX GENERATE function.  I now need to pivot this table to adjust the columns (Table 2).  Normally I'd perform this operation in Power ...
  • MFelix's avatar
    MFelix
    5 years ago

    Hi campbellmurphy 

     

    Looking at your updated information you don't need to pivot the information, if you use the Index column on the legend of the visualizatiions and change the X-axis according to your needs you can do it has you need, further more yoiu can create an hierarchy with the index and location.

     

    Or do you have some other needs in terms of visualization that is not explained in the example you have?

     

    I used a slicer to filter information by index.