March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
Hi,
Trying to create scatter plot chart X and Y axis dynamically.
It’s a dummy data.
Here you can see level filter where we have 2 type ‘Filter’ and ‘Total’.
If user don’t select any filter ‘Device Type’. So, data on scatter plot chart should show the total level data.
if user select any filter value from the ‘Device Type’ it will show the data on filter level for selected device type.
In my scenario have created one measure to show 1 and 0 based on the condition and put it into the filter pane to filter out only value 1 data.
here is my measure”
IsDeiveSelected =
var deviceselected = SELECTEDVALUE(FilterTable[DeviceType])
RETURN IF(deviceselected = BLANK(), IF(TRIM(MAX(Sheet1[Level])) = "Total", 1, 0), IF(TRIM(MAX(Sheet1[Level])) = "Filter", 1, 0))
Its working on table fine as below screenshot :-
But as you can see on scatter chart it should show 3 bubble instead of 2.
1,1 1,2 and 2,1 but its showing on the graph 1,1 and 1,2.
Need help to solve this problem.
I have been trying lot of thing to achieve but didn't get any answer.
Hi @Yagevendra ,
You can consider creating Index and use Index for DISTINCTCOUNT
In Power query. Add Column – Index Column – From 1.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
146 | |
97 | |
79 | |
69 |