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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.