Forum Discussion

bIearner83's avatar
bIearner83
Frequent Visitor
2 years ago
Solved

If condition not working for Dates

Hi Everyone, I have two tables 'Sales' & 'Customers'. There is a Date column in Sales table with the name "SalesDate" that I want to add hours based on the Customers locations.   The Customers tabl...
  • amitchandak's avatar
    2 years ago

    bIearner83 , a new column in the sale table

     

    = if(related(customer[Name]) = "bunnings" , [sales date] + time(8,0,0) , [Sales Date])