Forum Discussion
kza40381
4 years agoFrequent Visitor
Create Column If date falls within next week
Hi all, I am very new to Power BI. I am trying to create a column which indicates if my planned date column/field falls within the next week or 7 days. I need it to result in a number 1 else 0. Can someone help me? I have tried an If statement, but still can't figure it out.
| Planned Date | Coming Due Next week |
| 11/10/2021 | 1 |
| 12/3/2021 | 0 |
kza40381 , Try a new column like
New Column = if([Planned Date]>= Today() && Planned Date] <= today() +7,1,0)
1 Reply
- amitchandakSuper User
kza40381 , Try a new column like
New Column = if([Planned Date]>= Today() && Planned Date] <= today() +7,1,0)