Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
I am customizing my date table for my business. I have built a column containing only the dates we are open. As we are closed on the weekend I have null values for Saturday, Sunday and holiday closures.
I need a third column added to my date table containing the current business day if open or if closed, the next day we're open.
I have tried Table.Min with little success. I have tried MINX with filters for open_date<> null and open_date>=Date.Date. I keep getting circular reference errors.
This is the result I'm looking for. Thank for looking.
| Date.Date | date_open | Result |
| 12/31/2026 | 12/31/2026 | 12/31/2026 |
| 12/30/2026 | 12/30/2026 | 12/30/2026 |
| 12/29/2026 | 12/29/2026 | 12/29/2026 |
| 12/28/2026 | 12/28/2026 | 12/28/2026 |
| 12/27/2026 | 12/28/2026 | |
| 12/26/2026 | 12/28/2026 | |
| 12/25/2026 | 12/25/2026 | 12/25/2026 |
| 12/24/2026 | 12/24/2026 | 12/24/2026 |
| 12/23/2026 | 12/23/2026 | 12/23/2026 |
| 12/22/2026 | 12/22/2026 | 12/22/2026 |
| 12/21/2026 | 12/21/2026 | 12/21/2026 |
| 12/20/2026 | 12/21/2026 | |
| 12/19/2026 | 12/21/2026 | |
| 12/18/2026 | 12/18/2026 | 12/18/2026 |
| 12/17/2026 | 12/17/2026 | 12/17/2026 |
| 12/16/2026 | 12/16/2026 | 12/16/2026 |
| 12/15/2026 | 12/15/2026 | 12/15/2026 |
| 12/14/2026 | 12/14/2026 | 12/14/2026 |
| 12/13/2026 | 12/14/2026 | |
| 12/12/2026 | 12/14/2026 |
Solved! Go to Solution.
You may be able to add the column referencing the [date_open] column and then doing a Table.FillUp() (or Table.FillDown() depending on which way the table is sorted) step to the new column.
Proud to be a Super User! | |
Thanks very much. That worked a treat.
Thank you for looking.
Try doing it in two steps.
Add a column that is just [date_open] and then in the next step fill down that column.
Proud to be a Super User! | |
You may be able to add the column referencing the [date_open] column and then doing a Table.FillUp() (or Table.FillDown() depending on which way the table is sorted) step to the new column.
Proud to be a Super User! | |
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |