Forum Discussion
Blank Text Card until something selected in a slicer
- 8 years ago
Hi Anonymous,
Here I made a sample to meet your requirement. We can create a measure like this to get the the result as we excepted.
Measure = IF(ISFILTERED(Table1[name]) || ISFILTERED(Table1[Plant]) || ISFILTERED(Table1[VAS type])||ISFILTERED(Table1[date]),FIRSTNONBLANK(Table1[name],Table1[name]),BLANK())
For more details, please check the pbix as attached.
Regards,
Frank
Hi Anonymous,
Here I made a sample to meet your requirement. We can create a measure like this to get the the result as we excepted.
Measure = IF(ISFILTERED(Table1[name]) || ISFILTERED(Table1[Plant]) || ISFILTERED(Table1[VAS type])||ISFILTERED(Table1[date]),FIRSTNONBLANK(Table1[name],Table1[name]),BLANK())
For more details, please check the pbix as attached.
Regards,
Frank
- andreaabisaab6 years agoRegular Visitor
hi v-frfei-msft
this has worked perfectly for me, thanks!
I have made a little change in your expression, because i didn't want " (Blank) " to appear on my card, so here's the expression I used:
Measure = IF(ISFILTERED(Table1[name]) || ISFILTERED(Table1[Plant]) || ISFILTERED(Table1[VAS type])||ISFILTERED(Table1[date]),FIRSTNONBLANK(Table1[name],Table1[name]),"")
Thanks ! 🙂
- Anonymous3 years agoNot applicable
Same thing I did as well. Looks cleaner.
- v-frfei-msft8 years ago
Community Support
Hi Anonymous,
Does that make sense? If so, kindly mark my answer as a solution to close the case.
Regards,
Frank - jimmy73775 years agoFrequent Visitor
Hello all
I am trying to do somthing simlar but with a Card and the card normally hold dates so this is what I have
ProjectStartDateMeasure = if(HASONEVALUE(Table[Column), FIRSTDATE(Table[Column]),"Select Project")When nothing is selected I get Select Project but when i select a date i getThis has now taken to many hours, wall, head. you get the picture. Please someone put me out of misory pretty please.
- yazenbarakat1234 years ago
Helper I
Did you ever Find the solution to this Issue? Running into something very similar
- yazenbarakat1234 years ago
Helper I
Try something like this !
FORMAT(SELECTEDVALUE ( Dates[Date] ),"dd/mm/yyyy")
it worked for me ! if so please accpet this as a valid solution as it would be my first 🙂
jimmy7377
- Arunsawas3 years agoNew Member
I try to used the same formula but the card appeared only Blank, it was not change while I selected other item? Do I have to put all the colum in the table or just the column that I used to make the whole project (including another tab)
- Anonymous3 years agoNot applicable
Hi , This worked for me but at thi point it show blank . In case we want to display "Text" in Card instead of black when selected all then what will be the query?