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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sampathkumar
Frequent Visitor

Unpivot Dax code neede

Hello Team,

       i want to unpivot my table by DAX code only because i am unable open Query editor for that table. Basically one table is coming from SQL Server and again added some columns by ADDCOLUMNS in code and loaded in other table which i told before. So when i try to Edit query for latest table with added columns it doesn't show Edit Query for Unpivot other columns. so only i have option using DAX i need to Unpivot that table. any body has refernce code or suggestions  please.

1 REPLY 1
v-qiuyu-msft
Community Support
Community Support

Hi @sampathkumar,

 

You can refer to these two threads: 

https://stackoverflow.com/questions/50213905/is-it-possible-to-unpivot-in-power-bi-using-dax

https://community.powerbi.com/t5/Desktop/Columns-to-Rows/td-p/136649

 

If it doesn't meet your requirement, please share your pbix file and clarify corresponding desired results. 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.