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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
aggiebrown
Helper III
Helper III

Optimising Forecast Measures in Matrix Table: Filter Table to Future Dates for Some Measures only

Hi all,

 

I am having issues when trying to optimise what currently is an excel spreadsheet in Power BI. 

 

I have a basic Matrix Table that shows a few KPIs with current data month to date, and forecasting for the end of the month based on rolling 4 week / 1 week averages. I am using date table in a few VAR measures To get Forecasted Metrics and Scheduled in Future metric (from today onwards only, but when Matrix Totals rows it Totals it for the full month and not only from Today)  

 

This is the expected view I want to get to Power BI:

aggiebrown_0-1701864435175.png

And this is currently what I am getting in Power BI highlighting in red what is not calculating correctly:

 

aggiebrown_1-1701865501959.png

All measures are based on this fact_table which is connected to date table via "datekey" column:

aggiebrown_2-1701866331027.png

 

 

I have a Power BI version of this, with measures I written down.

Power BI Desktop File

 

Any ideas on how to solve the 3 highlighted measures?

 

1 REPLY 1
amitchandak
Super User
Super User

@aggiebrown , for Meetings Scheduled (only future) try like

# Meetings Scheduled (only future) = 


VAR __Result = 
                         CALCULATE([# Meetings Scheduled], FILTER(dim_date, dim_date[date]>=TODAY()))

RETURN __Result

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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