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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
francesg
Helper I
Helper I

Multiple Slicer value with 2 condition

Hi Everyone,

 

I need help in DAX; my goal is:

1. when the user selects the Type slicer = "Backlog" and "Sales", the result is 0

francesg_1-1674505378118.png

2. when the user selects the Type slicer only "Backlog" or "Sales", the result is 0

francesg_2-1674505525944.png

3. when the user did not select any value in the slicer should show the "Amount" > ('table.amount")

francesg_3-1674505619862.png

My current dax which is not working, is:

Backlog Forecast =
VAR vtype =
SELECTEDVALUE('Forecast Inclusions'[Type])
RETURN
SWITCH(
TRUE(),
vtype = "Backlog", 0,
vtype = "Sales", 0,
vtype = "Backlog" || "Sales", 0,
vtype = "", ('All Measures'[Backlog Amount])
)

 

Appreciate anybody's help. Thank you 

 

 

 

 

1 ACCEPTED SOLUTION
francesg
Helper I
Helper I

Thank you it works 🙂 

View solution in original post

4 REPLIES 4
francesg
Helper I
Helper I

Thank you it works 🙂 

Padycosmos
Solution Sage
Solution Sage

You may try this:

Backlog Forecast =
VAR vtype =
SELECTEDVALUE('Forecast Inclusions'[Type])
RETURN
SWITCH(
TRUE(),
vtype = "Backlog"0,
vtype = "Sales"0,
vtype = "Backlog" || "Sales"0,
'All Measures'[Backlog Amount]
)
FreemanZ
Super User
Super User

hi @francesg 

Is  'All Measures'[Backlog Amount] a measure? If so, how is it defined?

Hi FreemanZ,

 

Yes, this is the table we set for all measures. Created in SSAS/cube.  

Thanks

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors