Forum Discussion
CuriousGuy001
2 years agoHelper I
Making Slicer with 1 Variable
Hi everyone,
I am trying to make a slicer that can show only 1 variable, "NA", and not show other order number. I did on measure and then parameter but it doesn't filter properly. Also I made it to a relationship, still doesn't filter it out.
NA =
CALCULATE(
SUM('Margin Sheet 2024'[Gross Sale less HST]),
FILTER(
'Margin Sheet 2024',
'Margin Sheet 2024'[Centah-Order#] IN {"NA"}
)
)
)
The problem is when I drag the Centah-order to the field, it display a list of order, and I don't want it to show but only, "NA" so I can make toggle on/off
Here's one idea that may be close to what you're looking for (PBIX attached):
Create a slicer with Centah-Order# but apply a visual filter on the slicer Centah-Order# = "NA".
- When no selection is made on the slicer, no filter is applied to Centah-Order#.
- When NA is selected on the slicer, the filter Centah-Order# = "NA" is applied.
Is this what you're looking for or something different?
Regards
2 Replies
- OwenAugerSuper User
Here's one idea that may be close to what you're looking for (PBIX attached):
Create a slicer with Centah-Order# but apply a visual filter on the slicer Centah-Order# = "NA".
- When no selection is made on the slicer, no filter is applied to Centah-Order#.
- When NA is selected on the slicer, the filter Centah-Order# = "NA" is applied.
Is this what you're looking for or something different?
Regards
- CuriousGuy001Helper I