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
Pk8524
Regular Visitor

Vertical dot chart for different measures

I wonder if its possible to create such graph:

Screenshot 2024-12-27 175403.jpg

 

 

but to have in the x axis different measures:

Screenshot 2024-12-27 175524.jpg

The goal would be to show different measures, how all categories are performing within each measure, and highlight the one choosen by the user. Is it possible to have on x axis diffrerent measures (not creating several charts next to each other)? For the simplicity I am using here two measures total sales and total sales dummy.

 

https://drive.google.com/file/d/1Pm-f9kOZ6BSBXukUQ-PcRVBHMahwa4Tw/view?usp=sharing 

1 ACCEPTED SOLUTION
v-junyant-msft
Community Support
Community Support

Hi @Pk8524 ,

Thanks for lbendlin's reply!
And @Pk8524 , 
First of all, if you want to achieve the effect shown in this picture:

vjunyantmsft_0-1735540253382.png


Then you are currently using the wrong visual object.

vjunyantmsft_1-1735540692527.png


You need to use Scatter chart:

vjunyantmsft_2-1735540721925.png


In addition, you need to put different measures into the visual object, but no matter which visual object, you can only put one measure in the Y-axis.

vjunyantmsft_3-1735540840549.png


You need to add a new table with one column containing all the Values ​​that will appear on the x-axis (the names of all the measures to be displayed). For example:

vjunyantmsft_4-1735542743754.png

Then use this DAX to create a measure:

Measure = 
SWITCH(
    TRUE(),
    SELECTEDVALUE('Table'[X-axis]) = "Measure1", [Total Sales],
    SELECTEDVALUE('Table'[X-axis]) = "Measure2", [Total Sales Dummy]
)

Put the column X-axis into the X Axis of the Scatter chart and the measure into the Y Axis of the Scatter chart:

vjunyantmsft_5-1735542834177.png


The example is on the second page of the pbix I gave you.

Best Regards,
Dino Tao
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

2 REPLIES 2
v-junyant-msft
Community Support
Community Support

Hi @Pk8524 ,

Thanks for lbendlin's reply!
And @Pk8524 , 
First of all, if you want to achieve the effect shown in this picture:

vjunyantmsft_0-1735540253382.png


Then you are currently using the wrong visual object.

vjunyantmsft_1-1735540692527.png


You need to use Scatter chart:

vjunyantmsft_2-1735540721925.png


In addition, you need to put different measures into the visual object, but no matter which visual object, you can only put one measure in the Y-axis.

vjunyantmsft_3-1735540840549.png


You need to add a new table with one column containing all the Values ​​that will appear on the x-axis (the names of all the measures to be displayed). For example:

vjunyantmsft_4-1735542743754.png

Then use this DAX to create a measure:

Measure = 
SWITCH(
    TRUE(),
    SELECTEDVALUE('Table'[X-axis]) = "Measure1", [Total Sales],
    SELECTEDVALUE('Table'[X-axis]) = "Measure2", [Total Sales Dummy]
)

Put the column X-axis into the X Axis of the Scatter chart and the measure into the Y Axis of the Scatter chart:

vjunyantmsft_5-1735542834177.png


The example is on the second page of the pbix I gave you.

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

lbendlin
Super User
Super User

It's the wrong chart type. Your X axis items are sorted randomly  (alphabetically).  A Radar chart may be more appropriate.

 

What distinguishes Measure1 from Measure2 ?  In other words - apart from the SubCategory what is the other defining dimension that should go on the x axis? Customer?

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!

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.