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
sagarsahoo_123
Helper IV
Helper IV

In a slicer Multiple Filter selection is not giving the correct result

Hi Team,

Wish you all a very Happy New year.

Here in slicer when multiple selection is done, it is not giving the desired result, but single selection is working fine.

Please note that i am using Measure in slicer.

sagarsahoo_123_0-1673845656010.png

In the above if you look at the input Range slicer, i am using measure in it. And code for my measure is given below.

Input_Range(WorkTime) =
IF(
    ISBLANK(VW_NIPPON_PRODUCTIVITY[Last_12M_Trends]),"No Input",
    if(
    VW_NIPPON_PRODUCTIVITY[Last_12M_Trends]<4, "<4 Hours",
    if(
    VW_NIPPON_PRODUCTIVITY[Last_12M_Trends]<6, "4 to <6 Hours",
        IF(
        VW_NIPPON_PRODUCTIVITY[Last_12M_Trends]<8,"6 to <8 Hours",
            IF(
            VW_NIPPON_PRODUCTIVITY[Last_12M_Trends]<=9,"8 to 9 Hours",">9 Hours"
             )
          )
     )
  )
)
 
-----------------
Here i am displaying the 12 months users Work Time and at the end based on the average value of Work time i am categorising into different segment. 
Now i am selecting <4 and 4 to 6 hours categories but it displays all. Please see the below image.
sagarsahoo_123_1-1673845973358.png

If you look at the highlighted yellow color is diplaying above 6 hurs work time.

Is there anything in the code which i can modify to get desired result or Can i use Switch option instead of If condition!

Please help

 

Please note silgle selection is giving correct result.

 

Regards,

Sagar

 
0 REPLIES 0

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
Top Kudoed Authors