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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Vinesh_1
Regular Visitor

Create Axis values as slicer

Hi All,

 

I have a scatter plot with Count(Appeals) on X- Axis and Charge Amount on Y- Axis. 

My issue is - In the graph below ,you see the right top circle is the highest (farthest from all other) and this causes all the smaller values dumped together .

 

So I'm trying to create a solution by using sllicer with X-Axis buckets where user can select buckets 0-50, 50-100, 100+.  

 

My Table is App_1 table with columns AppealID,Providername,Paid Amount.

 

I looked few similar posts and I haev created new table(X_Dim) with column 1 which has buckets but was not sure how to link X_Dim to main table.

 

Please advise 

 

 

 

 

Scatter.PNG 

 

 

 

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

@Vinesh_1,

 

Drag measure below to Visual level filters and set Show items when the value is 1.

Measure =
VAR c =
    COUNT ( App_1[AppealID] )
RETURN
    IF (
        c > SELECTEDVALUE ( X_Dim[MinV] )
            && (
                ISBLANK ( SELECTEDVALUE ( X_Dim[MaxV] ) )
                    || c <= SELECTEDVALUE ( X_Dim[MaxV] )
            ),
        1
    )
Community Support Team _ Sam Zha
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

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Vinesh_1,

 

Drag measure below to Visual level filters and set Show items when the value is 1.

Measure =
VAR c =
    COUNT ( App_1[AppealID] )
RETURN
    IF (
        c > SELECTEDVALUE ( X_Dim[MinV] )
            && (
                ISBLANK ( SELECTEDVALUE ( X_Dim[MaxV] ) )
                    || c <= SELECTEDVALUE ( X_Dim[MaxV] )
            ),
        1
    )
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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