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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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