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
HamidBee
Power Participant
Power Participant

Why is the detail on my Scatter graph not working as I expected?

Hi,

 

I am trying to plot a scatter graph. Please see the data that I am working with below:

 

Scatter_Graph.png

And this is how it plots:

 

Data for Scatter.png

 

When I add detail this is what I get:

 

Places.png

As soon as I add detail the graph doesn't plot. Essentially I am aiming to add a cluster. 

 

Does anyone have any idea as to why the graph is not plotting as it should when I add details?

 

What type of details are accepted in Power BI?

 

Thanks

 

1 ACCEPTED SOLUTION

Yes this is the error:

Can't display this visual.

 

Remove Details to display x- and y-axis pairs. Alternatively, you can keep Details and set a summarization for x- and y axis.

 

It worked now. What I did was I summarized the values for X and Y. When I set details as places it grouped the values together and summed them up. So there now is one plot for London which is (56,132). The two london points were added together. Notice that there are now only 4 points instead of 6. 

 

Summarize.png

View solution in original post

4 REPLIES 4
CNENFRNL
Community Champion
Community Champion

The error message is self-explanatory, x-axis and y-axis must be summarized when you use Details field. That's to say, scatter chart is a visulization of summarized table grouped by Details, aggreation operation is to summarize x- and y-axis.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

amitchandak
Super User
Super User

@HamidBee , can share the error details. There is a link on the error for that. Please share in text format

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Yes this is the error:

Can't display this visual.

 

Remove Details to display x- and y-axis pairs. Alternatively, you can keep Details and set a summarization for x- and y axis.

 

It worked now. What I did was I summarized the values for X and Y. When I set details as places it grouped the values together and summed them up. So there now is one plot for London which is (56,132). The two london points were added together. Notice that there are now only 4 points instead of 6. 

 

Summarize.png

@HamidBee , Make sure both X and Y of number datatype , else you will not be able to use details

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
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.