cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Help with DATE function

I could need som help with a date function

 

I have in my data set a start date and an end date.

I would like to have a column set to YES, if today is between start date and end date.

 

In prose:

Active coloum= If "start date" is before "today" AND "end date" is after "today" set value to "yes" otherwise set value to "no"

 

Is this possible?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Microsoft
Microsoft

Re: Help with DATE function

@Mezmarianne

Try 

Active column = IF('Table'[startDate]<=TODAY()&&'Table'[endDate]>=TODAY(),"yes","no")

View solution in original post

2 REPLIES 2
Highlighted
Microsoft
Microsoft

Re: Help with DATE function

@Mezmarianne

Try 

Active column = IF('Table'[startDate]<=TODAY()&&'Table'[endDate]>=TODAY(),"yes","no")

View solution in original post

Highlighted
Helper I
Helper I

Re: Help with DATE function

Thank you. It works perfectly.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors