cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
iampaoloc
Frequent Visitor

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 @iampaoloc ,

 

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 @iampaoloc ,

 

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

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors