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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi there,
Can someone advise how I can rectify this statement please? If the agreement end date is in this year, then I want the custom column to display 'Active', otherwise 'Inactive'.
Solved! Go to Solution.
(pay attention to case sensitivity)
= if Date.IsInCurrentYear([Agreement End Date]) then "Active" else "Inactive
--Nate
(pay attention to case sensitivity)
= if Date.IsInCurrentYear([Agreement End Date]) then "Active" else "Inactive
--Nate
Thank you very much @Anonymous
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 6 | |
| 6 | |
| 5 |