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.
I want to create a column that returns if a project will exprire within 180 days and I am not sure if I also need to account for it is expired or if it will fall from the calculation if it is or not. Would I need "Expired", "Nearing Expiration", "Safe from Expiration"
If the permit start date is within 180 days from TODAY and the construction start date is blank it is "Nearing Expiration." If the permit start date has passed (less than TODAY) and the construction start date is blank it is "expired." If the permit start date more than 180 days from TODAY, it is "Safe from Expiration."
Can I do this all on one column or do I have to add a column to calculate 180 days from TODAY as well?
Permit Start Date | Construction Start Date | Do I need a column to calcualte 180 days from Today? | Expired, Nearing Expiration, Safe from Expiration |
6/24/2023 | Expired | ||
6/6/2025 | Safe from Expiration | ||
5/3/2024 | 4/1/2024 | Safe from Expiration | |
7/15/2024 | Nearing Expiration |
Solved! Go to Solution.
hello @lynnzrae ,
please check if this accomodate your need.
looking at your provided result, i assumed these categories :
- permit date less than today and blank construction date = expired
- permit date greater than today and within 180days and blank construction date = nearing expiration
- the rest would be safe from expiration
that worked, thank you. I never would have figured that out on my own.
hello @lynnzrae ,
please check if this accomodate your need.
looking at your provided result, i assumed these categories :
- permit date less than today and blank construction date = expired
- permit date greater than today and within 180days and blank construction date = nearing expiration
- the rest would be safe from expiration