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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Visual Filter blank until slicers have been selected

Hi,

 

I've seen a solution for this already but it seems as if it doesn't work on my end. I'm wanting to display start window, end window and duration once a selection is made for all 4 of my slicers.

 

I saw this formula in here and tried it but am stuck when trying to apply it to the visual card that I have below

SlicerCheck = =if(calculate(distinctcount([SlicerColumn]),allselected([SlicerColumn]))=1,"Y","N")

 

I tried testing it as below and it doesn't work, wondering how I would also add the other 3 slicers in the formula.

 

Regards,

 

iampaoloc_0-1620265270392.png

 

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

According to your needs, if you want to apply the content selected by the slicer to the formula, you can try the selectvalue function. Reference is as follows:

M =
IF (
    (
        SELECTEDVALUE ( 'Table'[Start window] ) && SELECTEDVALUE ( 'Table'[End window] )
    ),
    "yes",
    "no"
)

v-henryk-mstf_0-1620625407162.png


If the problem is still not resolved, can you provide a detailed data model (delete sensitive information) and expected results. Looking forward to your reply.

Best Regards,
Henry

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-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

According to your needs, if you want to apply the content selected by the slicer to the formula, you can try the selectvalue function. Reference is as follows:

M =
IF (
    (
        SELECTEDVALUE ( 'Table'[Start window] ) && SELECTEDVALUE ( 'Table'[End window] )
    ),
    "yes",
    "no"
)

v-henryk-mstf_0-1620625407162.png


If the problem is still not resolved, can you provide a detailed data model (delete sensitive information) and expected results. Looking forward to your reply.

Best Regards,
Henry

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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