Forum Discussion
KPI Visualization card not showing current month
- 5 years ago
Hi adam_mac ,
For your KPI visual, you will need to create another measure with just sales for your current month, e.g., January 2021.
You can write a measure as follows:
CurrSales = CALCULATE([CurrentMonthSales],
FILTER(Finance_Sales, MONTH(Finance_Sales[PurchaseDate])= MONTH(TODAY()) && YEAR(Finance_Sales[PurchaseDate])=YEAR(TODAY())))
Now move this measure to the Indicator section of your KPI visual.
Thanks,
Pragati
Hi adam_mac ,
For your KPI visual, you will need to create another measure with just sales for your current month, e.g., January 2021.
You can write a measure as follows:
CurrSales = CALCULATE([CurrentMonthSales],
FILTER(Finance_Sales, MONTH(Finance_Sales[PurchaseDate])= MONTH(TODAY()) && YEAR(Finance_Sales[PurchaseDate])=YEAR(TODAY())))
Now move this measure to the Indicator section of your KPI visual.
Thanks,
Pragati
so that seems to have worked and i did the same formula for the targets also...however the problem is now that i am missing the graph behind the figures, any ideas how to get it back?
- Pragati115 years ago
Super User
Hi adam_mac ,
The background area chart in a KPI visual only displays when you are showing a trend over time - this was the case earlier.
But now you are just showing a single month metrics in time (current month), therefore the background area chart has disappeared in your KPI visual.
Thanks,
Pragati
- adam_mac5 years ago
Helper I
If we are showing the month, does this not count as a trend over time?
- Pragati115 years ago
Super User
HI adam_mac ,
Your value is aggregated for that single month - so look at it as a single value for the whole month. It hasn't got different value for every single day in that month. It has got same value for every single day in the current month. Therefore no trend in this case.
Thanks,
Pragati