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?

8 hours ago in Power BI by Evanjalin
• 19,960 points
8 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 8 hours ago by anonymous
• 19,960 points

Related Questions In Power BI

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 1 day ago in Power BI by anonymous
• 19,960 points
31 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 8 hours ago in Power BI by anonymous
• 19,960 points
6 views
0 votes
1 answer

How can I format Power BI visuals to dynamically change based on user-selected measures or dimensions?

Dynamically change Power BI visuals corresponding to ...READ MORE

answered Dec 30, 2024 in Power BI by Anu
• 2,900 points

edited Mar 6 197 views
0 votes
0 answers
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,539 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,883 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,664 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,814 views
0 votes
1 answer
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
• 19,960 points
60 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