Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
M-Beans
Regular Visitor

KPI Card - Help with Visual

I am trying to display a KPI card that compares the Year to Date Actual Revenue versus Year to Date Budget Revenue.

I  have a column for Actuals that is populated each month and is currently populated for the first 3 monthes of the year.  For the Budget my column has all 12 monthes populated with the budget for each month of 2024. 

I have tried the following and neither have worked:

 Sum of Actual in the "Value"

Year or Month from the calendar table in Trend Axis

YTD measure for Budget in Target

or

 YTD measure for Actual in Value

Year or Month from the calendar table in Trend Axis

YTD measure for Budget in Target

 

I end up getting a display of the year to date Actuals ( which is the correct value) but the Goal keeps displaying a total of 11 months of the year and showing red. Also the backround doesn't show up when I use the measures instead of the sum of's.  When looking at the actual data we should be in the green and beating our target/budget   How do I properly program this KPI Card?

 

 

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @M-Beans 

 

Download PBIX file with the example below

 

Create a table with this DAX

 

 

Dates_ = DATESBETWEEN('Dates'[Date], MIN('DataTable'[Date]), EOMONTH(TODAY(),-1))

 

 

Use the date column in that table as the Trend Axis for the KPI.

 

kpi-card.png

 

You will need also need a Date Table and all 3 tables need to be related by the Date field.

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

2 REPLIES 2
M-Beans
Regular Visitor

Thanks for your help!

PhilipTreacy
Super User
Super User

Hi @M-Beans 

 

Download PBIX file with the example below

 

Create a table with this DAX

 

 

Dates_ = DATESBETWEEN('Dates'[Date], MIN('DataTable'[Date]), EOMONTH(TODAY(),-1))

 

 

Use the date column in that table as the Trend Axis for the KPI.

 

kpi-card.png

 

You will need also need a Date Table and all 3 tables need to be related by the Date field.

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.