Forum Discussion
bensiqc
3 years agoHelper I
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...
- 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])
vojtechsima
3 years agoSuper User
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])
- bensiqc3 years agoHelper I
Thanks! This works. Seems like my issue was that I didn't make an explicit Units measure and was instead using the 'sum of units' column in the dataset itself.