Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello!
I'd like to create a new column that compares 2 text fields in a concatenated table that varies by week (Previous and Current week), I need to determine if ShipStatus has changes or not from previous and current week. Is this going to be a calculated dimensional field? I tried using the expression but it came out 2 columns for each week.
Pls. see example below :
Thank you in advance.
So, You want to compare only ShipStatus got changed into new one when week got changed? Does it?
Yes, Anil
Rgds
Do you have 2 Dates only? Will you attach application to investigate
Share the sample data ...that will help us to get you the solution
Anil,
Every week, it will add new data. However, I will only use the current week and the previous week as comparison. Thus, for this week, I would need the 12/18 and 12/11 records. Anyway, pls. see attached sample file. Hope this helps.
Rgds
Hi! Avinash,
Pls. see attached. Hope this helps.
Tks.
I've attached for you for speed response. Can you tell me what you are going to achieve from here?
Hi Anil,
I need only the latest week and the previous week (12/11 and 12/18). Thus, need to drop the week 12/04. After this, need to add a new column "Change Status" for comparing the shipstatus between the previous and current week. If both weeks have the same Shipsatus, it will be flagged as "No change", Otherwise, "Change".
Btw I take out the Datekey field from the dimension in your attached so the ShipStatus will be aligned with the 2 weeks.
Tks,