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
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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors