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

Add average numbers as benchmark onto scatter plot

Hi,

 

I need help with adding a second series of data to my scatter plot. I am currently plotting Sales vs. Margin % by Customer and would like to add the averages of all customers as another series to benchmark how my customer is doing. 

 

My initial thought is to create a new table via the Summarize function that joins my original data to my averages with a column specifying if an average or additional customer data. The only problem is that my averages are dynamic measures that can change via the industry (3 industries) and the hierarchy of the customer (Level 1 and 2), a third measure may also be added to calculate averages by Top, Medium and Bottom tier customers (by Sales). 

 

Unfortunately, I cannot provide a sample data set, but I have included some screenshots of examples.

 
1 ACCEPTED SOLUTION
dax
Community Support
Community Support

Hi  @Anonymous , 

Based on my test, I find that the scatter chart seems not support multiple metrics in chart(can't use two measures in same axis of chart). It seems that it could use calculated columns in same axis. So I think you might need to create summary table which store sale and margin % as columns.

By the way, you also could submit this in power-bi-ideas . 


Best Regards,
Zoe Zhi

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

4 REPLIES 4
dax
Community Support
Community Support

Hi @Anonymous , 

I am not clear about your requirement, if possible could you please explain this to me in details and inform me more detailed information(such as your expected output and your sample data, you don't need to provide real data)? Then I will help you more correctly.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

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

 

Anonymous
Not applicable

Hi Zoe @dax ,

 

Thanks for your reply! I included screenshots of the expected output and a fake dataset, can you be more specific on what you need to be clarified?

 

Basically it is a scatter chart that has sales as an x-axis and margin % as a y-axis. I would like to plot both the data (by product) for a specific company, as well as the average (by product) of all companies, in two different colours identified by a legend (Customer A, Industry Average). 

 

I am predicting that there will be another problem when it comes to the average because its currently being automatically calculated by Power BI when I make a table with the columns: Product, % Margin, $ Net Sales, as these are measures.  When you add the dimension of customers, you get the customer level data that is currently plotted, by I want an added dimension that compares it to the average.

 

Screenshot.png.pngScreenshot2.png.png

dax
Community Support
Community Support

Hi  @Anonymous , 

Based on my test, I find that the scatter chart seems not support multiple metrics in chart(can't use two measures in same axis of chart). It seems that it could use calculated columns in same axis. So I think you might need to create summary table which store sale and margin % as columns.

By the way, you also could submit this in power-bi-ideas . 


Best Regards,
Zoe Zhi

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

 

Anonymous
Not applicable

Not sure if images were correctly added to the post:

Screenshot.png.pngScreenshot2.png.png

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.

Top Solution Authors
Top Kudoed Authors