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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.