Forum Discussion

bensiqc's avatar
bensiqc
Helper I
3 years ago
Solved

KPI Visual - Simple Calculation

I'm building out some sample data. I have a very simple data set that looks like this:   Unit Count Spend Month Relative Month Box 1,234 $100 October Current Box 5,678 $801 Octo...
  • vojtechsima's avatar
    3 years ago

    Hi, bensiqc , 
    I tried something real quick:

     

     

    Total Units Current = 
    CALCULATE(
        [Total Units],
        'KPI'[Relative Month] = "Current"
    )
    Total Units Previous = 
    CALCULATE(
        [Total Units],
        'KPI'[Relative Month] = "Previous"
    )
    Total Units = SUM('KPI'[Count])