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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Matthias93
Helper III
Helper III

How to have both pivoted and unpivoted columns of the same column

Hi,

 

I'm currently working on a dashboard where I need to show the average value for 2 questions on a survey. To be able to make a good bar chart out of this I pivoted the columns to get to the data model you can see beneath. Now however I need to create a scatterplot where I have the average values of Question 1 on the X-axis and the average values of Question 2 on the Y-axis. For this however I think I need the pivoted version of the columns. You can see below what kind of scatter chart I'm referring to. Note that I need all these visuals in one file. 

 

Can Anybody tell me hove to solve this issue?


Thanks in advance,

Matt

DataDataBar ChartBar ChartScatter plotScatter plot

1 ACCEPTED SOLUTION
BhaveshPatel
Community Champion
Community Champion

You should not require to do pivot as you can achieve the results of the first visualization using AVERAGE measure.

 

Keep your data unpivoted to achieve the outout expected for the scatter plot.

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

View solution in original post

1 REPLY 1
BhaveshPatel
Community Champion
Community Champion

You should not require to do pivot as you can achieve the results of the first visualization using AVERAGE measure.

 

Keep your data unpivoted to achieve the outout expected for the scatter plot.

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.