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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
hwoehler
Helper I
Helper I

Scatter plot, grouped values ​​in only one column on x and y axis

Hello everybody,
I would like to display a scatter plot with Values of Company A on the X axis and Company B on the Y axis (maybe company selection via two slicers or one slicer?). The problem is that the values ​​(daily changes in%) for all companies are in one column. Is it possible to solve the problem in any way? In my Power BI File, the important columns for this are: DailyChange, Company (in Table Dim_Details). Dim_Details_filter -table is disabled... perhaps it is useful to distinguish or filter between Company A and Company B or X and Y axis.
This is, what it should be like:
Quelle: https://www.insidetrading.de/investieren-und-traden-mit-python-lernen-erstellen-von-charts-und-grafiken-mit-matplotlib/Quelle: https://www.insidetrading.de/investieren-und-traden-mit-python-lernen-erstellen-von-charts-und-grafiken-mit-matplotlib/

 

 

 


My File: https://we.tl/t-caWFeP0rfG

I would be very thankful!

Best regards,
hwoehler

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Please find the solution: https://www.dropbox.com/s/fssnkp1c7owvvg0/Scatter.pbix?dl=0

 

Used two independent slicers. If no value is selected, then it will take 0.

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin

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

View solution in original post

3 REPLIES 3
v-lionel-msft
Community Support
Community Support

Hi @hwoehler ,

 

If you want to display the data of two companies on two axes, you can only split the data of the two companies. Specifically, you can view @amitchandak 's answers.

 

Best regards,
Lionel Chen

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

 

amitchandak
Super User
Super User

Please find the solution: https://www.dropbox.com/s/fssnkp1c7owvvg0/Scatter.pbix?dl=0

 

Used two independent slicers. If no value is selected, then it will take 0.

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin

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
Ashish_Mathur
Super User
Super User

Hi,

I think we should get Company From the Dim_Details Table into the Fact_Stocks table.  The next step would be to transform your Fact_Stocks Table into as many columns as there are Companies.  Only then would we be able to drag the figures for Companies on the X and Y axis.  If you are amenable to trying this approach, then share the link from where i can download your source Excel file (TestPBI.xlsx).


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

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.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.