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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
GSMAUSSIE
New Member

Caculate Filter on dates not showing all months in date range but total working

Hi, IM trying to build a measure that a report end date is set (Eg 31 May 2023). Measure will grab monthly actuals before or equal to report end date and than after pull monthly forecast data. I have built an Actuals measure and now trying to apply a filter so it only returns Jan to May actuals.   It shows the May amount and correct total but Jan to April are blank? Tried both a calculate and sumx functions as per below. Any idea why the months prior to May are not showing?

GSMAUSSIE_0-1703843679041.png

 

GSMAUSSIE_2-1703843494533.png

 

 

 

 

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@GSMAUSSIE 

Your TEST measure should work as long as you have your model properly setup. Please check the testing I just did wheren I have a disconnected 'Dates 2' Table to select the date and I used MAX as I have between slicer.

Fowmy_0-1703845779066.png

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

2 REPLIES 2
GSMAUSSIE
New Member

@Fowmy  OK Thanks!  My ReportDate paramter was also connected to the Calendar dimension table. When i disconnected the relatinship it now works fine!  Thankyou!

Fowmy
Super User
Super User

@GSMAUSSIE 

Your TEST measure should work as long as you have your model properly setup. Please check the testing I just did wheren I have a disconnected 'Dates 2' Table to select the date and I used MAX as I have between slicer.

Fowmy_0-1703845779066.png

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.