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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Help with date filter

Hello all!

I'm trying to fix this and still can't figure out how to do it

I want to find a way to do this:

I used a filter with the current Month, my current month is the last month, for example in this case is September, and I want to show all the months until the current depending on the actual day (Today), for example if today were 15 of October, I want to see the months but I don’t want to see October, November, etc…. and if today were 16 of October, I want to see all the months, September, October, November, etc…

I hope someone can help me with this.

 

https://drive.google.com/file/d/17gw86tjxqN3xfcc2rWJ9Ag3UA1yQSOgn/view?usp=sharing 

Thanks,

Monica

1 REPLY 1
amitchandak
Super User
Super User

@MonicaElizondo, Based on what I have

Test a measure such as

if(day(today()) <16, [Last month], [this month])

See if you're neded : Power BI — Month-to-month with or without time intelligence
https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e

Provide your feedback and tips for new videos
Dax Series Tutorial Vs SQL Direct Query PBI Tips
We appreciate your congratulations.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors