Forum Discussion

vividarinda's avatar
vividarinda
Icon for Helper II rankHelper II
2 years ago

How to Show Value Null If Filter Selected

Hi Guys,

I have one dataset ,like this

UnitNoModelCategoryCountLocation
16DT0912777DPetrosea1KJA
xxx777D 0KJA
77DT0123777DKBL1KJA
16DT0567777DPetrosea1KJA
16DT9123777DRental1KJA
16DT9341777DRental1KJA

in my visualization  Power BI report there is a slicer for which I've captured the selections using below category.  

 

But when i click one category, the visualization show like this, there is a lot off unfilled data. 

 

 

Let me know how this could be accomplished using DAX query.

 

2 Replies

  • VijayP's avatar
    VijayP
    Icon for Community Champion rankCommunity Champion

    vividarinda From your question , I have understood taht you want "null" in the blank cell?

    DAX - if(isblank(measure),"null", measure)

    • vividarinda's avatar
      vividarinda
      Icon for Helper II rankHelper II

      VijayP ,

      Thanks vijay for your feedback.

      My expectation the visualization after i click category slicer, then the table show 0. Like this.