Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi guys,
I want to use calculation groups time intelligence because its efficiënt and easy to use. But, I also want to use the KPI card visual where I want to compare current year with last year. Is this possible when using Calculation groups measures?
Thanks in advance.
Hi @CReportify ,
Yes, it's possible. You can use Calculation Groups for time intelligence and still compare current year vs. last year in the KPI card. Just create a calculation item in the Calculation Group for "Last Year" and set it up to return the previous year's value. Then, you can use the KPI card to compare the current year's measure against the "Last Year" calculation item. This works seamlessly in Power BI.
SELECTEDMEASURE()
Last Year (LY):
CALCULATE(SELECTEDMEASURE(), SAMEPERIODLASTYEAR('Date'[Date]))
This sets up a Calculation Group with two items: one for the current year and one for last year.
Now, create a measure for something like
Sales = SUM('Sales'[Amount])
Drag your Sales measure into a table or any visual.
Now, the KPI card will show the current year sales by default, and when you select the "Last Year" Calculation Item, it will compare the current year's sales against last year's sales.
Please mark this as solution if it helps you. Appreciate Kudos
Hi Farhan,
Thanks for your answer It works adding the sales measure to the value field of the KPI visual and the date function to the trend axis. But, when dragging the Time Intelligence to the target box It doesn't work.
Kind regards,
Creportify
@CReportify Please share the sample input example data along with expected output.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 44 | |
| 31 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 136 | |
| 115 | |
| 58 | |
| 39 | |
| 35 |