cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
adim
Frequent Visitor

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

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

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.

12.PNG

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

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.

12.PNG

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

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.

 

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.