Forum Discussion

Koy's avatar
Koy
Helper I
1 year ago
Solved

Card (New) not publishing (error fetching data)

I have a dashboard that was working fine until yesterday, and now when I publish and view in service the cards are no longer funtioning (works fine on DB, shows error in service).  I completely delet...
  • Koy's avatar
    Koy
    1 year ago

    I think what you were missing here was conditional format on the reference labels.  I found that when that conditional format was the same as the format on the Accent bar it would not publish correctly.

     

    My solution was to create a new measure that determined the color.

    IND LE Color = Switch(
        True(),
        [ACvsLE]<0,"#FF0000",
        [ACvsLE]=0,"#e56e1d",
        [ACvsLE]>0,"#59a33a"
    )
     
    In the conditional formatting of my refernece labels, I used Field Value and selected the new color measure.  That solved all my publishing issues.