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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors