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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Display values of certain date range based on today's date PowerBI

I need to display values in a particular visual of certain date range powerbi

example - if today's date 29th of october then I need the count of values created from 29th of sept to 28th of oct. likewise if today is 29th of nov then i need to display from 29th of oct to 28th nov. So basically need to display or count the values of prev month date from from 29th of prev of prev month to 28th of prev month. based on current month of the todays date need to display the values or count of values.  

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

read about EDATE(), in your case you would use EDATE(max([Date]),-1) as the lower limit of your filter and max([Date])-1 as the upper limit.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

read about EDATE(), in your case you would use EDATE(max([Date]),-1) as the lower limit of your filter and max([Date])-1 as the upper limit.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.