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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
aletho
Helper I
Helper I

dab measure - previous months above or below budget

Hi

 

I need help with a dax measure. I want to calculate if I'm above or below my budget so far this year, so turnover-budget. 

 

I have "budget - FBP" as my budget and "Oms. FBP" as my turnover. I want to set it up so it calculates it from the beginning of the year to and including the last month. So from Jan2018 to Aug2018, next month from Jan2018 to Sep2018 and so on.

Is this possible? 🙂   

 

My data looks like this:

 

Budget measure.PNG

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

Hi aletho,

 

"I want to set it up so it calculates it from the beginning of the year to and including the last month. So from Jan2018 to Aug2018, next month from Jan2018 to Sep2018 and so on."

 

<--- Could you clarify more details about your logic?

 

Regards,

Jimmy Tao

Hey Jimmy and thanks for writing

 

Let me try to explain my purpose. I am trying to create a calculation showing how if I am above or below my sales target so far this year on a monthly budget bases. This is for me (budget-turnover) from the month passed. I cannot include a month that has not passed yet, because it has not reached is full turnover. 

 

So something like from the start of the year to this month-1? I have included an excel spreadsheet illustrating the idea and problem.  

 

https://drive.google.com/file/d/1_onjFHRmuGvfzUdXox1wDlsJgUKXrlzS/view?usp=sharing

 

Hope you can help me in the right way

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.