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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

New Member

Alternate to unpivot



I am trying to generate a scatter plot for the following scenario. 

I have mulitple columns (categories) all rated out of 6 and I am trying to create a scatter plot with the categories along the x-axis and the average of the columns on the Y axis I also want to stratify the data by another variable (pre/post)


I have been able to generate this by unpivoting the columns and using the attribute and values to build the visual. But unfortunately when i go to refresh it now takes forever to refresh due to the shear number of columns generated by the unpivot. (see image below for what I want to build) 



Are the any other simple solutions on how to do this without unpivoting the data? 

Community Support
Community Support

Hi @nickpuli ,

If possible, pre-transform your data before importing it into Power BI Desktop. 
This will reduce the amount of data that needs to be processed by the Power BI Desktop.


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

Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors