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
darentengdrake
Resolver II
Resolver II

Past Data not appearing in Matrix

Hi,

 

Assuming I have a set of forecast data ranging from January 2019 to December 2020.

 

I tried to create a matrix of the forecast data that I have. with each week being one forecast data, and several different items to forecast. However, the matrix that was created only contains data starting from the current month onwards and ignoring past months. When I try to apply a filter to get data from a past month, it does not show any data in the matrix.

 

These data are present in the table that has all the data which are loaded in Power BI.

 

Any thoughts?

 

Thanks!

1 ACCEPTED SOLUTION

Hi @v-yulgu-msft 

 

Thanks for getting back.

 

I think I found out what may be causing the problem.

 

It feels like it is the DAX formula that we are using that is filtering out past data.

 

 

This is the measure I'm using

 

Net =
CALCULATE(
[Net],
FILTER(
ALLEXCEPT ( Forecast, Forecast[ITEM] ),
Forecast[Reqs Date] >= DATE(YEAR(TODAY()), MONTH(TODAY()), 1)
&&
Forecast[Reqs Date] <= MAX(Forecast[Reqs Date])
)
)
 

View solution in original post

2 REPLIES 2
v-yulgu-msft
Employee
Employee

Hi @darentengdrake ,

 

Please check if any page or report level filter is applied which might filter out data records in past months. 

 

How is your dataset look like? How do you create the Matrix? Is there any measure used? Please post sample data and screenshots.

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yulgu-msft 

 

Thanks for getting back.

 

I think I found out what may be causing the problem.

 

It feels like it is the DAX formula that we are using that is filtering out past data.

 

 

This is the measure I'm using

 

Net =
CALCULATE(
[Net],
FILTER(
ALLEXCEPT ( Forecast, Forecast[ITEM] ),
Forecast[Reqs Date] >= DATE(YEAR(TODAY()), MONTH(TODAY()), 1)
&&
Forecast[Reqs Date] <= MAX(Forecast[Reqs Date])
)
)
 

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.