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! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 137 | |
| 102 | |
| 71 | |
| 67 | |
| 65 |