Forum Discussion

DaniLP's avatar
DaniLP
New Member
3 years ago
Solved

Conditional format Card value based on the result on another Card

Hi all,    I am unsure if its possible, but i tried looking around and can't seem to find a way.  Im fairly new using and learning on my own pace PowerBI and had to say this so you know my level.....
  • Anonymous's avatar
    Anonymous
    3 years ago

    Then you will need to create a measure with those filters. 

     

    Create the ones bellow

     

    # Items = 
        --Bellow put the column refering to the items being summed
        SUM('table'[column])
    
    
    Card 1 Measure = 
        CALCULATE(
            [# Items],
            DATESINPERIOD('Date'[Date], TODAY() , -1000 , DAY )
        )
    
    
    Card 2 Measure =
        CALCULATE(
            [# Items],
            status[status] in {"Not Started","On Hold","In progress"}
        )
    
    Conditional formating measure = 
    VAR _carddiff = [Card 2 Measure] - [Card 1 Measure]
    
    RETURN
    IF( _carddiff <> 0, 1, 0)