Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
bzafft123
Regular Visitor

Filter table by column then on filter value increase date by 14 days all in 1 new column

Hello,

 

I have a table with the following columns Profit Center, Requested Date, and Target Delivery Date. I'm looking for the Target Delivery Date to be updated by i.e. 14 days if Profit Center is Preschool or if Profit Center is Schools 30 days. I want these updates all in one new column.  

Example: Preschool(Profit Center)  | 1/7/2020 (requested Date) | "new column" = 1/21/2020 (14 days added)

bzafft123_0-1678385734796.png

Please let me know if you need additional information.

1 ACCEPTED SOLUTION

hi @bzafft123 

try like:

new column =
SWITCH(
   [Profit Center],
   "Preschool", [Requested Date]+14,
    [Requested Date]+30
)

View solution in original post

4 REPLIES 4
bzafft123
Regular Visitor

@FreemanZ Its in my example: Example: Preschool(Profit Center)  | 1/7/2020 (requested Date) | "new column" = 1/21/2020 (14 days added

Preschool = add 14 days

Studios = add 30 days

etc.

hi @bzafft123 

try like:

new column =
SWITCH(
   [Profit Center],
   "Preschool", [Requested Date]+14,
    [Requested Date]+30
)

That worked! Thank you so much!

FreemanZ
Community Champion
Community Champion

hi @bzafft123 

could provide the value of your expected new column directly? It would be easier for all.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.