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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
bvy
Helper V
Helper V

Scatter Chart where user selects X, Y axis indicators

Given a table of indicators and values, shown below, I simply want to plot these on a scatter chart where the user can select the X axis and Y axis indicators. I think I'm going to have to set up measures, one for each axis, to accomplish this? What's the best approach? Thanks. 

 

bvy_0-1661876102632.png

bvy_1-1661876190116.png

 

(ETA, the data doesn't align with the chart above. Just showing off the desired behavior.)

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@bvy , Based on what I got. You need two independent slicer tables and then you can create a measure like

 

 

m1 = calculate(sum(Table[Value]), filter(Table, Table[Indicator] = selectedvalue(slicer1[Indicator])) )

 

m2 = calculate(sum(Table[Value]), filter(Table, Table[Indicator] = selectedvalue(slicer2[Indicator])) )

 

You use these two measures . For details, you can use any other column or add an index column and use that in details

 

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@bvy , Based on what I got. You need two independent slicer tables and then you can create a measure like

 

 

m1 = calculate(sum(Table[Value]), filter(Table, Table[Indicator] = selectedvalue(slicer1[Indicator])) )

 

m2 = calculate(sum(Table[Value]), filter(Table, Table[Indicator] = selectedvalue(slicer2[Indicator])) )

 

You use these two measures . For details, you can use any other column or add an index column and use that in details

 

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak Thank you. That's good but maybe I'm doing something wrong. Implemeted as shown, I only get one point on the scatter chart (presumably the SUM in your DAX?). I need to see all the points individually. 

Anyone else? 

 

ETA: Reading through your post again, @amitchandak , I see I needed something in the "Values" column to designate a grouping. There's a timestamp assocaited with each set of readings (not shown in my data sample, sorry about that) and that was the ticket. Thanks. 

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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