Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago

Blank Visuals

Hi Team

 

I have a bar chart and upon selecting certain values values in slicer it goes blank. I have used the ISBLANK() in the measure that is being used in the bar chart. Is there a way to show like "Data not available" or 0 in such cases. Quick help will be appreciated.

 

10 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Team

     

    Anyone with an idea for this issue. 

    • Thejeswar's avatar
      Thejeswar
      Super User

      Hi Anonymous,

      You can use the below DAX Statement

       

      Measure1 = IF(ISBLANK(Measure),0, Measure) 
      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Thejeswar

         

        I have already used this in DAX but the visuals still go blank upon slicing.

  • MariaP's avatar
    MariaP
    Solution Supplier

    Hi Aishwar04

     

     

    Is this what you are trying to achieve? If so, I will post quick solution.

     

    Please post your desired outcome and some data to help answer your question.

     

    When I select Mazda, Visual remains with zero  data as the result.  

     

    Maria

     

    Nil FiltersFilter Selected for row with blank data

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi MariaP

       

      Thanks for your response!

       

      Yes, this is what I need to show 0 upon slicing instead of the visual going completely blank.

      • MariaP's avatar
        MariaP
        Solution Supplier

        Hi again,

         

        My solution in the file is here:

         

        Download

         

        This is almost the same as  #Thejeswar has posted.

         

        Thanks

        Maria