Forum Discussion
Filter on data that does not exist in a table
Hi MadisMerk ,
First create a column in company table:
_region = RIGHT('Table'[Name],1)
Then create a measure as below:
Measure = IF(NOT(MAX('Table'[_region]) in FILTERS('Table (2)'[Transport Region])),1,BLANK())
And you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Hi,
This is the other part of the equation, but how am I able to use it in a slicer?
- v-kelly-msft5 years ago
Community Support
Hi MadisMerk ,
Create a slicer table as below:
slicer table = VALUES('Table (2)'[Transport Region])Then create a measure as below:
Measure = var _tab=CALCULATETABLE(VALUES('slicer table'[Transport Region]),ALLSELECTED('slicer table')) Return IF(MAX('Table'[_region]) in _tab,BLANK(),1)And you will see:
For the related .pbix file,pls see attached.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
- MadisMerk5 years ago
Helper I
Hi,
Would it also be possible to have a "blank" option in the slicer?
Madis
- v-kelly-msft5 years ago
Community Support
Hi MadisMerk ,
Yes,you could create a slicer table as below:
slicer table = UNION(ROW("Transport Region",BLANK()),VALUES('Table (2)'[Transport Region]))And you will see:
For the related .pbix file,pls see attached.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!