Professional Documents
Culture Documents
com
+91 7303066379
Calculated fields
non aggregated-
It has output value for each row and is not dependant on filters or views
aggregated-
www.sastrainingindelhi.com
+91 7303066379
option 1, bonus=
else 2
else 2
if [Sales]>1000 then 50
ELSE 2
end
2. Category-Productname : extract the first 7 charactres of product name and concatenate with
category- like Office Supplies-Avery 5
5. New York flag: if state is 'New York' and segment is 'Home offlice' then 1
Date operations
6. weekday_val: get day of week from order date- like Monday, Tuesday etc.
8. Ship_date_new= get day of order date and month, year of ship date
9. next_Friday_Order_DT:
Import Return data attached and get following fields added in superstore data:-
11. order returned charges : get return charges of orders are returned in ‘orders’ table
12. order returned charges Normal: get return charges of orders are returned in ‘orders’ table
Solutions:
8. Below is example of NextSundaydate so that you can try Next Friday date yourself
)))))))