Hey folks,
Can anyone please help me clear up some confusion with a workflow that’s stopping me from filtering necessary records?
Workflow:
Input SQL Query (past 7 days) → T-2 Business Days Logic → Join with Ledger and SOD info → Join with Config File →
Issue:
I’m unable to figure out this condition —
Check if the column SQL-PQL-CDE contains values S and P.
If both exist, pass them forward.
If any record is missing SQL-PQL-CDE = S, then create a blank column S (with Null values) and append it to all records.
Similarly, if any record is missing SQL-PQL-CDE = P, then create a blank column P (with Null values) and append it to all records.
→ Then use a CrossTab tool to allocate SQL & PQL codes →
Concern:
Not sure if the Select tool renaming step would work dynamically in this setup.
→ Then Unique Tool → Output
Any suggestions or alternate logic to handle this dynamically would be really appreciated!