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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Jameswh91
Helper III
Helper III

Using the date number to calculate percentage of monthly budget

Hi, 

 

I've spilt the monthly budget into a daily budget and would like to use the date number to multiply the daily budget to give more context of what products are selling well/not selling well in the current month. Is this possible?

 

e.g date of month is 3rd August and daily budget is £7000 so expected sales are 3 x 7000 = 21000

 

Any help would be very much appreciated

 

1 ACCEPTED SOLUTION
selimovd
Super User
Super User

Hey @Jameswh91 ,

 

sure, you can get the day of the month of any given date with the DAY function.

So it would be:

Budget today = DAY( TODAY() ) * 7000

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍

Best regards
Denis

Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic

View solution in original post

3 REPLIES 3
NickolajJessen
Solution Sage
Solution Sage

I don't think that will give you the desired result. Following the date will not account for weekends and holidays. etc.

What you are looking for is a measure that counts Workingdays in the current month since the start of the month along with the budget for that month. Divide those two numbers and you'll have your desired result i think. 

selimovd
Super User
Super User

Hey @Jameswh91 ,

 

sure, you can get the day of the month of any given date with the DAY function.

So it would be:

Budget today = DAY( TODAY() ) * 7000

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍

Best regards
Denis

Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic

Thanks @selimovd much appreciated.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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