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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Monthly Target

Hi 

 

I have a scenario like this.

 

I have a fact table with 3 months worth of data.

the monthly target is 70.

Yearly target is 840.

 

ohraytyroo_0-1614804369727.png

 

How do i compute for the Month over Month Target to check whether a respondent is meeting the monthly Target and would total to Year.

 

Would love to know how I could solve the problem. 

the grain of data is daily and my target is monthly. 

The target table i just created it. and looks something like the below.

 

MonthTarget

January70
February70
March70
April70
May70
June70
July70
August70
September70
October70
November70
December70

 

Thanks in advance

3 REPLIES 3
MattAllington
Community Champion
Community Champion

Thanks for adding the additional information to the OP. There are quite a few things I would recommend (more later).  A quick fix is as follows.

1. change the relationship between targets and Date to be

  • Many to Many
  • Date filters Targets

I assume that all months in the targets table are also in the date table (a requirement for this change).

 

It's not clear how the rawdata rolls up to "actual".  If it is count of questions, then you could write

Target = sum(TargetsTable[target])

Actual = countrows(rawdata)

Tracking to target = [Actual] - [Target]

 

Add a table visual to a report, place Date[MonthName] and the measures as values.

 

Bigger issues*

  • What happens next year? Your targets are at a month level, but each year has the same months.
  • You may want to set the targets at the mmm-yyyy level
  • Why do you have 2 relationships between Staff List and Raw Data?  This looks suspicious to me.


* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.
MattAllington
Community Champion
Community Champion

You need to help us to help you. https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Get-Your-Question-Answered-Quickly/m-p...



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.
Anonymous
Not applicable

Hi Mat

 

Thanks for the reply. 

Is the detail that ive shared enough to atleast point me on how i could solve the problem?

 

Thank you

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors