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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
lindapembroke
New Member

Include Null Values in Slider

I have a numeric field with values ranging from 1-100 and there can also be null values. Users would like to use the slider visual to dynamically choose any range of numbers and ALWAYS include the null values no matter what range is chosen. However, as we know, when you move the slider even one point to the right, the nulls drop out.

 

Is this possible?

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

Hi, @lindapembroke ;

You could create a table as a slicer, then create a measure and apply it into filter.

1.create a table.

slicer = VALUES('Table'[value])

2.create a measure.

flag = 
IF (
    MAX ( 'Table'[value] ) = BLANK ()
        || (
            MAX ( 'Table'[value] ) >= MIN ( 'slicer'[value] )
                && MAX ( 'Table'[value] ) <= MAX ( 'slicer'[value] )
        ),
    1,
    0
)

3.apply it into filter.

vyalanwumsft_0-1643012118645.png

The final output is shown below:

vyalanwumsft_1-1643012173965.png
Best Regards,
Community Support Team_ Yalan Wu
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-yalanwu-msft
Community Support
Community Support

Hi, @lindapembroke ;

You could create a table as a slicer, then create a measure and apply it into filter.

1.create a table.

slicer = VALUES('Table'[value])

2.create a measure.

flag = 
IF (
    MAX ( 'Table'[value] ) = BLANK ()
        || (
            MAX ( 'Table'[value] ) >= MIN ( 'slicer'[value] )
                && MAX ( 'Table'[value] ) <= MAX ( 'slicer'[value] )
        ),
    1,
    0
)

3.apply it into filter.

vyalanwumsft_0-1643012118645.png

The final output is shown below:

vyalanwumsft_1-1643012173965.png
Best Regards,
Community Support Team_ Yalan Wu
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

Sorry to hear about these users.  Have you considered using text values instead, and/or What-if parameters?  That should allow you to handle the nulls via measures.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors