Forum Discussion
Anonymous
1 year agoNot applicable
Make a slicer with AND function
Hello all, For my report I need the user to be able to filter everything that is ONLY requested. So an AND function rather then an OR function. I will provide sample data below: CustomerTbl ...
- 1 year ago
Hi Anonymous ,
Here is the file you asked.
MFelix
1 year agoSuper User
Hi Anonymous ,
Add a table with the Area has a disconnected table then add the following measure to your model:
Validation =
IF(
CONCATENATEX(
VALUES('Action'[Area]),
'Action'[Area],
",",
'Action'[Area]
) = CONCATENATEX(
Area,
Area[Area],
",",
Area[Area],
ASC
),
1
)
Now add this as a filter on your visual an select is not blank the slicer should be based on the new table:
- Anonymous1 year agoNot applicable
Thank you for the answer! Can you please show the model view of your suggestion?
- MFelix1 year agoSuper User
Hi Anonymous ,
Here is the file you asked.
- Anonymous1 year agoNot applicable
Because I get this error
- MFelix1 year agoSuper User
Hi Anonymous,
Can you share the measure you have created?
It seems like a error on the code. Maybe a comma or lack of it somewhere.