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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
MangoMango
Regular Visitor

How to Make Date Filter Work in Columns for Matrix View in Power BI?

I have a matrix view, and a date slicer. When I select a month, I want the matrix to display all months' data from January 1 of the selected year's date up to the selected month. The filter works when I put the date field in rows, but not in columns. How can I make this work when the date field is in columns?

 

This is the filter I added to the matrix visual, and I set this to 'contains ‘TRUE’

MonthDateFilter1 =
IF (
    [Selected Month end] >= MAX ( 'FactTable'[YearMonth] ) &&
    [Selected Month Start] <= MAX ( 'FactTable'[YearMonth] ),
    "TRUE",
    "FALSE"
)
 
Powerbi Question.png
1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

I have solved a similar question in the attached file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

I have solved a similar question in the attached file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thank you. This is very helpful!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.