Forum Discussion

adim's avatar
adim
Frequent Visitor
7 years ago
Solved

DAX pivoting table

Hi there,

 

I have this table in my model: 

 

provider_idyeartimesamplerate
id12011123
id22011456
id32011789
id12012111213
id22012141516
id32012171819
id12013212223
id22013242526
id32013272829

 

and I need to get this result table:

 

  2011  2012  2013 
provider_idtimesampleratetimesampleratetimesamplerate
id1123111213212223
id2456141516242526
id3789171819272829


Is there any chance to achieve this through DAX? 

 

Thank you for your time.

 

Adrian

  • Anonymous's avatar
    Anonymous
    7 years ago

    Hi adim,

     

    Nope, dax is impossible to achieve this.
    In my opinion, you can use original table column to create matrix visual with same result.

     

    Regards,

    Xiaoxin Sheng

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi adim,

     

    Nope, dax is impossible to achieve this.
    In my opinion, you can use original table column to create matrix visual with same result.

     

    Regards,

    Xiaoxin Sheng

    • BG123's avatar
      BG123
      Frequent Visitor

      Visual is fine but need this as intermediate table for calculations...(also unlock dynamic column selection!).

       

      Why is this so hard? I am trying to get away from excel but some things like this are a huge nuisance to quick transfer of existing reports.