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

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

Reply
Anonymous
Not applicable

Calculating Daily Sales Goals

Our corporate sales goals are determined monthly based on number of business days in the month.  I would like to add a goal table to my model that extrapolates this to a daily goal number.  I have a date table already in my model that contains a field for working or non-working days.  Here's what I would like to do:

 

  • Divide the monthly goal by the number of working days in a month and enter that into the daily sales goal.
  • Enter a value of 0 into the daily sales goal for non-working days

I'm relatively new to DAX, but haven't found an answer that accomplishes this so far.  Thanks in advance for your help.

2 REPLIES 2
Anonymous
Not applicable

Share some sample data and expected output
Anonymous
Not applicable

Here is what the Excel spreadsheet showing goals looks like that I received (I modified the date columns to make it easier to link to my model for testing while I found a solution):

 

 
 

2020-02-05 09_32_10-Window.png

 

The table I'd like to create would end up looking like this (total monthly goal is divided by total of "working" days in a month):

 

2020-02-05 09_38_06-Window.png

The end goal is that I can create a cumulative total and measure performance to date.

 

 

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.