I need a scatter plot where the x-axis and y-axis dynamically change based on slicer selections how can I achieve this

0 votes

I need a scatter plot where the x-axis and y-axis dynamically change based on slicer selections—how can I achieve this?
I need to create a scatter plot in Power BI where users can dynamically select the measures for the x-axis and y-axis using slicers. The chart should update automatically based on these selections. What is the best approach using field parameters or DAX to ensure flexibility while maintaining performance?

Mar 18 in Power BI by Evanjalin
• 22,610 points
47 views

1 answer to this question.

0 votes

Create a scatter plot that is going to be dynamic in Power BI, enabling the users to set their x measure through one slicer and then set their y measure through another slicer. Here's what you need to do.

1. Use Field Parameters to Enable Dynamic Axis Selection

In Power BI Desktop, Modeling → New Parameter → Fields.

Select your measures or columns for the x-and y-axes.

Name them X-Axis Selection and Y-Axis Selection.

2. Change the Scatter Plot

Add to the X and Y-Axis fields for the scatter plot the X-Axis Selection and Y-Axis Selection parameters.

Make two slicers so the users can select measures in the report.

3. Performance Optimization

Add pre-aggregation or DAX-efficient computations in Power Query if working with large datasets. Avoid measures that require too many recalculations.

answered Mar 18 by anonymous
• 22,610 points

Related Questions In Power BI

0 votes
1 answer

How do I create a donut chart where the segments dynamically change based on multiple user-selected dimensions?

To create a donut chart that updates ...READ MORE

answered 6 days ago in Power BI by anonymous
• 22,610 points
48 views
0 votes
1 answer

I need to calculate a running total but reset it at the start of each new quarter—how can I achieve this in DAX?

To calculate a running total that resets ...READ MORE

answered Mar 7 in Power BI by anonymous
• 22,610 points
68 views
0 votes
1 answer

How can I create a dynamic grouping in Power Query where the group sizes vary based on another column’s values?

You can use these innovative techniques in ...READ MORE

answered Mar 17 in Power BI by anonymous
• 22,610 points
71 views
0 votes
1 answer

How can I create a multi-row card that dynamically adjusts based on the number of selected values?

To create a multi-row card in Power ...READ MORE

answered Mar 18 in Power BI by anonymous
• 22,610 points
54 views
0 votes
1 answer

Displaying Table Schema using Power BI with Azure IoT Hub

Answering your first question, Event Hubs are ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,562 views
+1 vote
1 answer

Unable to install connector for Power Bi and PostgreSQL

I think the problem is not at ...READ MORE

answered Aug 22, 2018 in Power BI by nirvana
• 3,130 points
2,891 views
+2 votes
2 answers

Migrate power bi collection to power bi embedded

I agree with Kalgi, this method is ...READ MORE

answered Oct 11, 2018 in Power BI by Hannah
• 18,520 points
1,673 views
+1 vote
1 answer

Connect power bi desktop to dataset and create custom reports

Open power bi report nd sign in ...READ MORE

answered Oct 10, 2023 in Power BI by Monika kale

edited Mar 5 1,832 views
0 votes
1 answer
0 votes
1 answer

How can I create a customized tooltip that includes measures that change dynamically based on the hovered data point?

To make a customized tooltip that dynamically ...READ MORE

answered 6 days ago in Power BI by anonymous
• 22,610 points
40 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP