Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I wanted to ask if there is way to have one single scatter chart w/ dynamic XY axis selection. Please see below:
I'd appreciate if you could share any insights/tips/tricks/resources. Thanks!
I'm confused on your description, could you please clarify the meaning of "Query1, 2, 3" and "Col1~5"? And which columns are the three slicers based on?
Regards,
Jimmy Tao
Hey Jimmy,
So query1, 2 and 3 refer to 3 different query tables.
and Col1 - 5 refer to columns within these three tables.
see attached picture.
So does X-axis and Y-axis take the columns from two tables? Could you share more details?
Regards,
Jimmy Tao
Hey Jimmy,
Please see attached pbix
My original plan was to be able to:
So, the goal was to plot, for example - mass vs intrusion for Section 1 and Section 2
---
After spending some time trying to figure out a good approach I ended up transforming my data as follows:
Now I'm able to dynamically choose what sections to compare (using multi-select slicer) and what Xvalue and Yvalue to plot (using the single select slicer), but when I plot Xvalue vs Yvalue the scatter chart says 'Can't determine relationship between fields'.
I have tried defining relationships, but it still won't plot Xvalue vs Yvalue, and I'm not sure why!
In the attached file - you'll see I'm able to pull all the necessary data - just not able to plot it!
I'd appreciate if you could take a quick peek at it and let me know if I'm missing something.
Thanks!!
Refer to this posts on how to dynamically change the attribute. Its not exactly what you need but the idea is same.
https://community.powerbi.com/t5/Desktop/Dynamic-change-in-X-Axis/td-p/86167
https://community.powerbi.com/t5/Desktop/Change-x-axis-categories-dynamically/m-p/280583
If it helps, mark it as a solution
Kudos are nice too
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
73 | |
58 | |
36 | |
32 |
User | Count |
---|---|
90 | |
60 | |
60 | |
49 | |
45 |