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
Anonymous
Not applicable

Unpivot Calculated Columns & Measures

Hello, I am creating a projected P&L based on sales that are active and have not closed yet to compare to the P&L I get for business closed from prior months.  My table has about half the columns that I can easily unpivot but the other half of the data are calculated columns and measures that I need to unpivot and cannot find a way to do that.  If I cannot do that I will have to edit my query and create the columns all over again in query editor to allow me to unpivot the rest of the data but I don't want to go through doing all the work that I already have done.  I have tried using the matrix visual and "show on rows" but the problem with that is that I cannot group fields and it will not total all the columns when I "show on rows" the way it would have if I could have unpivot the data, group it, and have it automatically total the values.  Any ideas?

 

 

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

Could you show me example of your data model and expected result so that I can provide better and detailed solution?

 

Best Regards

Maggie

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.