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.
Hi community,
I have a question.
In the file that I upload in Power BI I have actuals and budget amounts (for example revenues).
Is there a way to calculate the Forecast by summing up the Revenue YTD actuals and Revenue Remaining months budget?
Thanks,
Rui
Solved! Go to Solution.
Hi @Rui,
Based on my assumption, I created sample table like below.
To get the result of revenue YTD actuals and revenue remaining months budget, please try below measures:
Revenue YTD actuals = TOTALYTD(SUM(Revenue[Actual]),DimDate[Date]) Revenue YTD budgets = TOTALYTD(SUM(Revenue[Budget]),DimDate[Date],FILTER(DimDate,DimDate[Date]<=TODAY())) Remaining budgets = CALCULATE(SUM(Revenue[Budget]),ALL(Revenue))-Revenue[Revenue YTD budgets]
Here, 'DimDate' is a calendar table with is related to 'Revenue' table based on [Date] column.
For more advice, please provide your sample data and illustrate your desired output with more description. If possible, post an image to show your requirement.
Regards,
Yuliana Gu
Hi @Rui,
Based on my assumption, I created sample table like below.
To get the result of revenue YTD actuals and revenue remaining months budget, please try below measures:
Revenue YTD actuals = TOTALYTD(SUM(Revenue[Actual]),DimDate[Date]) Revenue YTD budgets = TOTALYTD(SUM(Revenue[Budget]),DimDate[Date],FILTER(DimDate,DimDate[Date]<=TODAY())) Remaining budgets = CALCULATE(SUM(Revenue[Budget]),ALL(Revenue))-Revenue[Revenue YTD budgets]
Here, 'DimDate' is a calendar table with is related to 'Revenue' table based on [Date] column.
For more advice, please provide your sample data and illustrate your desired output with more description. If possible, post an image to show your requirement.
Regards,
Yuliana Gu
Thanks Yuliana, it worked!
Rgds,
Rui
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
95 | |
77 | |
65 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |