Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
sw123
Helper III
Helper III

Data from multiple columns into X-axis on scatter diagram

Hi,

 

I would need to put in numeric data from multiple columns into the X-axis on a scatter diagram. Is this possible and how would I do this?

 

Thankful for help!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @sw123 

You may not be able to change the column by slicer. I think measure is a better way.

I build a measure in X axis and it works well.

 

 

Measure = SWITCH(
Slicer[Selected Measure],1,[Column1],2,[Column2]
)

 

 

Result:

1.png

If this reply still couldn't help you solve your problem, could you show me your data model and your calculated column to me?

You can provide me more details about you problem, just like provide me with your problem screenshot, the result you want.

Or you can share you pbix file with me by your Onedrive for business.

You can download the pbix file from this link: Data from multiple columns into X-axis on scatter diagram

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @sw123 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.

 

Best Regards,

Rico Zhou

amitchandak
Super User
Super User

I tried the measure slicer, but with the columns instead of measures, since I don´t want any sums in the scatter diagram, I want all the values. But I could not get the SWITCH-function to work. It doesn´t recognize the last column name and I can´t figure out why.

Anonymous
Not applicable

Hi @sw123 

You may not be able to change the column by slicer. I think measure is a better way.

I build a measure in X axis and it works well.

 

 

Measure = SWITCH(
Slicer[Selected Measure],1,[Column1],2,[Column2]
)

 

 

Result:

1.png

If this reply still couldn't help you solve your problem, could you show me your data model and your calculated column to me?

You can provide me more details about you problem, just like provide me with your problem screenshot, the result you want.

Or you can share you pbix file with me by your Onedrive for business.

You can download the pbix file from this link: Data from multiple columns into X-axis on scatter diagram

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors