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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
lauralovesBI
Frequent Visitor

DAX to calculate sales targets based on different granularity

Hi!

I would like to calculate sales targets but have different granularity inputs:

 

Management sets a monthly sales target per salesperson = SalesTarget [Amount] and SalesTarget [CalendarMonth]

 

Each salesperson sets their monthly sales activities by % per each month = person 1 will have 50% in week 1, 25% in week 3 and 25% in week4 of a certain month, person 2 will have 25% x all 4 weeks of a certain month, person 3 will have 20% in week 1 and 80% in week 4 of a certain month, etc

 

I am using a star schema with all input tables connected to the date reference table and salesperson reference table. Calculation should be monthly sales target x salesperson weekly split for each month. Excel would be easy to write but how do I direct DAX to take the month's target and split it by each salespersons' %?

 

Current calculation gives me only the first week: Sales Amount Per Week = CALCULATE([Sales Target by Month]*[Salesperson%Split], ALL(CalendarReference[WeekofYear]))

 

thank you!

0 REPLIES 0

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.