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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
bartschulz
Frequent Visitor

Budget that reacts to filter on period

Hello,

 

I need a little help. Probably a simple solution but can't think how to do it.

 

I have 2 tables one with the colums Name, week, revenue and the other one with colums Name, Budget (year).

 

The result should be a table with the revenue and budget filtered by week. How can I get the budget right. It still stay the yar total as i filter per week. Lets say if i want till week 16 the budget should be 16/52 of the budget.

 

thanx in advance

 

Sample file: https://www.dropbox.com/s/23c7c6gtw73sd8l/Budget.pbix?dl=0 

 

1 ACCEPTED SOLUTION

Hi,

 

Please try this measure:

Measure = (MAX(Budget[Budget])/52)*CALCULATE(COUNTROWS(Omzet),ALLSELECTED(Omzet))

The result shows:

10.PNG

See the attached pbix file.

 

Best Regards,

Giotto

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@bartschulz , I have done allocation at Day level, Please find the file. You can do it at the week level

https://www.dropbox.com/s/fnq82ksdzk1lqs3/Target_allocation_daily.pbix?dl=0

Pragati11
Super User
Super User

Hi @bartschulz ,

 

Can you share some sample data here please?

Are there any relationships between these tables?

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Hello In original post a sample data file. the releation is on Naam.

 

The budget for the year is 20000, 385 per week so if I filter till week 10 the budget should be 3850. Now it stays at 20000.

Hi,

 

Please try this measure:

Measure = (MAX(Budget[Budget])/52)*CALCULATE(COUNTROWS(Omzet),ALLSELECTED(Omzet))

The result shows:

10.PNG

See the attached pbix file.

 

Best Regards,

Giotto

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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