on 2020 Nov 13 6:02 AM
Hi All,
I have a requirement to create a new column with the condition as below :
In the new column, When the Actual Category is blank, it has to pick the First Review Category value and when the Actual review category has a value in it, then the new column should have those values until it is next changed.(the rows below should also have the same value)
In the example below, we have first few lines as blank under Actual Review Category, then we are showing New column as Expedited. Then We have Full Committee under Actual Review Category field, hence the new column should have "Full committee" now until it changes to the next state.
This way, we need to populate a new column. Attached is the snapshot of webi report with two different submission numbers.
Can some one please help on fixing this.
Thank you
Poojitha
Here is the corrected solution:
- Sort the "Workflow Status Date" column with "Submission Number; Workflow Status Date"
- Define the following variable:
NewClumn: =If Not(IsNull([Actual Review Category])) Then [Actual Review Category] Else (If (IsNull(Previous(Self)) Or [Submission Number] <> Previous([Submission Number]) ) Then [First Review Category] Else Previous(Self) )
...
hope this solves your requirement
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
11 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.