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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
marciomendonca
Frequent Visitor

How to detect MORE than 1 value in a Slicer

Good Morning, community. Here is my problem:

I have this slicer from Jan to Aug whereas each month has its own goal to be achieved, luckly from Jan to Jul the goal is the same, but in Aug the value changed.

marciomendonca_0-1660828517738.png

So now I want to automaticaly change the goal accordingly with the selected(s) month(s). I kinda figured it out already, but now I'm struggling with this issue: When I select more than 1 month (August included) it only shows the SUM of the other months but not August

marciomendonca_1-1660828668265.png

Exaclty same value if August is selected

marciomendonca_2-1660828693789.png

August's goal

marciomendonca_3-1660828735995.png

 

So I want to be able to detect if the August value was selected or not, so then the goal will be adjusted accordingly.

Btw, both goals are in the same Table but in different columns.

 

2 REPLIES 2
amitchandak
Super User
Super User

@marciomendonca , You check if august is selected 

 

if( "August" in Values(Date[Month]), 1,0)

 

Check has one value to make sure one value is selected - https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

Sadly, didn't work 😞

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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