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
marcoslepore22
Regular Visitor

Dynamic X axis and Y axis for Scatter chart

Hi guys,

 

I´m kind of new to Power BI. Thanks in advance for your help.

I want to create a dashboard like this:

https://dataveld.com/power-bi-sample-wind-energy-makeovermonday-2019-w08/ 

 

A "simple" scatter chart with dynamic both X and Y axis (I want to let the final user choose what they want on the axis), just like the example on the link above. I saw ways to do it using bar charts but I couldn´t find something that works on scatter charts for both axis.

Could you please help me?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@marcoslepore22 , As scatter visual take measure on both axis measure slicer should work

measure slicer
https://www.youtube.com/watch?v=b9352Vxuj-M
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...
https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slic...
https://www.youtube.com/watch?v=vlnx7QUVYME

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

View solution in original post

6 REPLIES 6
marcoslepore22
Regular Visitor

marcoslepore22_1-1618508675674.png

The result

Anonymous
Not applicable

Hi Marco , This is Awsome! 

 

it would be great if You share the power bi file. 

amitchandak
Super User
Super User

@marcoslepore22 , As scatter visual take measure on both axis measure slicer should work

measure slicer
https://www.youtube.com/watch?v=b9352Vxuj-M
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...
https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slic...
https://www.youtube.com/watch?v=vlnx7QUVYME

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Anonymous
Not applicable

Hi , 

 

I applied tow Slicer Measure for each Aixs in Scatter Chart, The problem is When I added A filter Slicer For each Aixs it would effect the other Filter Slicer and would not let me change the filter Value! 

 

Slicer Measure 1 = SWITCH(SELECTEDVALUE('Indicator'[IndicatorName], "A"),

"A", [indicatorvalues1],
"B", [indicatorvalues1],
"C", [indicatorvalues1]

)
 
 

 

Slicer Measure 2 = SWITCH(SELECTEDVALUE('Indicator'[IndicatorName], "B"),

"A", [indicatorvalues1],
"B", [indicatorvalues1],
"C", [indicatorvalues1]

)
 
these are the Slicer Measures. 
 
and for Filter Slicer I just choose the 'Indicator'[IndicatorName],

I applied these MEASURE SLICERS on the axis values and all worked! Thanks for the help and for the tutorial links!

Thanks for the reply @amitchandak . I´ll try these measure slicers and then I come back here with the results.

 

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.