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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Unpivot of dax data

I have a problem regarding unpivot of a dax data table.

The data is as following:

 

 

212.pngThe Black part is kept as is, while the yellow part is what I need to unpivot so it ends with 2 columns:

The title as parameters and the values on the other column.

 

1 ACCEPTED SOLUTION

hi, @Anonymous 

If you want to unpivot the data by dax, you could try this way:

https://community.powerbi.com/t5/Quick-Measures-Gallery/DAX-Unpivot/td-p/574832

 

Best Regards,

Lin

 

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

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

here, i am sharing my screenshots how I converted unpivot columns. 

 

1. this is my Excel data(see, I have null values means this all are empty cells )

 

Capture.JPG

 

2. after I replace "null" values into "0" 

 

Capture1.JPG

 

3. I select all columns by using cntl option (Excepts first two columns)

4. see, we have Transform tab one option is there Unpivot Columns

 

Capture4.JPG

 

5. click unpiovt option, after we are getting result like this.

 

Capture2.JPG

 

6. change column name

 

Capture3.JPG

 

regards,

Naveen

Anonymous
Not applicable

I know about the power query method. The reason I did not use it is because I have calculations in the columns. But I have somehow found a youtube that may get me through. thanks anyways.

hi, @Anonymous 

If you want to unpivot the data by dax, you could try this way:

https://community.powerbi.com/t5/Quick-Measures-Gallery/DAX-Unpivot/td-p/574832

 

Best Regards,

Lin

 

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

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.