Dear Alteryx community,
I am trying to label years according to which financial quarter we are looking at to do some further analysis, so seeking your help for a simple and dynamic solution.
Context: The data structure will be similar for each quarter with the current always being in format of e.g. "Q3 2022E" with previous quarter being without the "E"
Examples for context:
- Q1 2022E -> "Current quarter", 2022E -> "Outlook"
- Q2 2022E -> "Current quarter", 2022E -> "Outlook"
- Q3 2022E -> "Current quarter", 2022E -> "Outlook"
- In the case of Q4 it's a bit different and would have to be Q4 2022E -> "Current quarter", 2022E -> "Full year", 2023E -> "Outlook"
- Q1 2023E -> "Current quarter", 2023E -> "Outlook"
What I have (data attached for your convenience):

What output I'm looking for:
| Q3 | Q4 |
 | 
|
Hope you can help!
All the best,
David