Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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?
Solved! Go to Solution.
@Anonymous
Try
Active column = IF('Table'[startDate]<=TODAY()&&'Table'[endDate]>=TODAY(),"yes","no")
@Anonymous
Try
Active column = IF('Table'[startDate]<=TODAY()&&'Table'[endDate]>=TODAY(),"yes","no")
Thank you. It works perfectly.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 31 | |
| 24 | |
| 22 |
| User | Count |
|---|---|
| 134 | |
| 111 | |
| 57 | |
| 44 | |
| 38 |