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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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

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

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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