Forum Discussion

MelStaunton's avatar
MelStaunton
Icon for Helper III rankHelper III
6 years ago

Using last value of column for conditional formatting

Hi!

trying to use the last value for the conditional formatting of the background of a chart.

The last value display correctly in the tooltips but not when put onto a card. and also not when used as the condition for the background color, as the last value would be grey, instead it is white. 

What am I missing?

As always, thanks in advance!

 

2 Replies

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

    MelStaunton 

    Try something like this.

    Measure = CALCULATE(SELECTEDVALUE(MyTable[MEDesignOverdueFlag#]),FILTER(MyTable,MyTable[RecordCREATEDDATETIME]=MAX(MyTable[RecordCREATEDDATETIME])))

     

    Did I answer your question? Mark my post as a solution!
    Appreciate with a kudos
    🙂