Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Custom Icon

Hello, I added a measure for icons, is it possible that the icon will not be visible if there no data on that field?

 

 

Here's my Dax Measure for icons

 

Icon D SLA = SWITCH(
TRUE(),
[SLA %]>=CALCULATE([SLA %],PREVIOUSDAY('Calendar Ref'[Dates])),"TriangleHigh",
[SLA %]<CALCULATE([SLA %],PREVIOUSDAY('Calendar Ref'[Dates])),"TriangleLow",
"TriangleMedium")
  • Hi Anonymous ,

     

    Try using this measure

     

    BlankCheck = IF(ISBLANK( [SLA %] ), Blank(),  [Icon D SLA] )

     

    If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!

2 Replies

  • Jayee's avatar
    Jayee
    Responsive Resident

    Hi Anonymous ,

     

    Try using this measure

     

    BlankCheck = IF(ISBLANK( [SLA %] ), Blank(),  [Icon D SLA] )

     

    If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks a lot it works!