Forum Discussion
maqsud
Helper III
6 years agoVisualisation card should be blank until something selected in a slicer
I have data something like this:
'HRISData'
| NewEmployeeCode | Full Name | NewManagerCode |
| E157 | Brown Mia | E010 |
| E008 | Carter Michelle | |
| E216 | Smith Leigh | E008 |
| E244 | Gill Whitney | E008 |
I want my Manager Name Card should be Blank until something is selected in Manager Code Slicer.
Manager Name Card without selecting Manager Code
Manager Name Card with selecting Manager Code
Thank you!
5 Replies
- amitchandak
Super User
maqsud , you can use isfiltered or hasonevalue
https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
- maqsud
Helper III
amitchandak, I am trying the following measure to use for Manager Name Card Visual Level Filter.
SlicerCheck = IF(ISFILTERED(HRISData[NewManagerCode]), HRISData[NewManagerCode] , BLANK())But this gives me the following error
"A single value for column 'NewManagerCode' in table 'HRISData' cannot be determined."
I have found similar article but nothing seems to be working so far.
- v-xuding-msft
Community Support
Hi maqsud ,
Please try like this:
SlicerCheck = IF(ISFILTERED(HRISData[NewManagerCode]), MAX(HRISData[NewManagerCode]) , BLANK())