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 September 15. Request your voucher.

Reply
dgdgdg122db
Helper II
Helper II

Measure to set a matrix visual date range

Hello, 

 I would like to write a measure to filter a matrix visual:

If selected value in Region table is A

Then the date range is last 4 months, else the last 12 months 

I have a filter on the table viusal like in the screenshot below, but I would like to have it in a measure . 

Can anyone please help me 

112.png

1 REPLY 1
Anonymous
Not applicable

Hi @dgdgdg122db ,

In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_Binbin Yu

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.