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
Yagevendra
Helper IV
Helper IV

Scatter chart showing the wrong output.

Hi,
Trying to create scatter plot chart X and Y axis dynamically.

Yagevendra_0-1659348174101.png

 


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 :-

Yagevendra_1-1659348174104.png

 


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.

1 REPLY 1
v-yangliu-msft
Community Support
Community Support

Hi  @Yagevendra ,

You can consider creating Index and use Index for DISTINCTCOUNT

In Power query. Add Column Index Column From 1.

vyangliumsft_0-1659681167230.png

 

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.

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.