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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
aashton
Helper V
Helper V

This Month or Greater

I want to filter a visual on everything with a start date of this month or greater, can you help with the syntax?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@aashton , start date of this month

eomonth(today(),-1)+1

 

You can use in a measure like

measure  =

var _min = eomonth(today(),-1)+1

return

calculate(sum(Table[value]), filter(Table, Table[date] > _min))

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
v-xiaoyan-msft
Community Support
Community Support

Hi@aashton,

 

Has your problem been solved? if so, please consider Accept a correct reply as the solution to help others find it. 

Thank you very much for your cooperation.

 

Best Regards,

Caitlyn Yan

amitchandak
Super User
Super User

@aashton , start date of this month

eomonth(today(),-1)+1

 

You can use in a measure like

measure  =

var _min = eomonth(today(),-1)+1

return

calculate(sum(Table[value]), filter(Table, Table[date] > _min))

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors