Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Make a Card Visual Start as blank

I am creating a lookup page report for our users. It will allow a user to type in a zip code and then show all of the correlating data points. I am using card visuals to display each data point for complexity reasons and UI cleanliness. However, before anything is typed in the cards will default to the first data point. I am wanting that to be displayed as blank to start and then when it is filter by zip code it will show the data. Any thoughts?  

8 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      This works for getting the correct zip code but how would I apply this to text fields when trying to find the correct name on a record with that zip code. 

      • Pragati11's avatar
        Pragati11
        Icon for Super User rankSuper User

        Hi Anonymous ,

         

        First thing it will be nice if you can tag the person you are replying to in your response.

        Your last response is not clear to me regarding the text fields.

         

        Please explain your query in detail rather than us guessing.

         

        Thanks,

        Pragati

         

  • Hi Anonymous ,

     

    Try something as below:

    Measure = IF(ISFILTERED(Table1[Column1]),FIRSTNONBLANK(Table1[Column1], Table1[Column1])," ")

     In the above measure, replace Table1[Column1] with your zipcode column. Then move this above measure to your card visual.

     

    Thanks,

    Pragati

    • Anonymous's avatar
      Anonymous
      Not applicable

      I need to do this for all cards which are each different columns in the data set. I attempted to do this with the AR column and it made it blank but when I typed in a zip code it left it blank still.