The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi all,
How can I create a custom column in power query that states:
IF [date] is greater than today and less than today +3 months THEN yes
Thanks
Solved! Go to Solution.
@HenryJS
Add the following as a custom column:
= if [Date] > Date.From(DateTimeZone.LocalNow()) and [Date] < Date.From(Date.AddMonths(DateTimeZone.LocalNow(),3)) then "Yes" else "No"
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@HenryJS
Add the following as a custom column:
= if [Date] > Date.From(DateTimeZone.LocalNow()) and [Date] < Date.From(Date.AddMonths(DateTimeZone.LocalNow(),3)) then "Yes" else "No"
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group