This is the table that I have
Contract_ID | Period | Forecast | Shortfall |
---|---|---|---|
1 | May23 | 35325 | 456 |
2 | June24 | 3466 | 768 |
3 | Sept22 | 457657 | 879 |
I need the output as:
Contract_ID | May23Forecast | May23Shortfall | June24Forecast | June24Shortfall | Sept22Forecast | Sept22Shortfall | Total Forecast | Total Shortfall |
---|---|---|---|---|---|---|---|---|
1 | 35325 | 456 | 35325 | 456 | ||||
2 | 3466 | 768 | 3466 | 768 | ||||
3 | 457657 | 879 | 457657 | 879 |
In MicroStrategy Developer.
I'm able to achieve this by placing the period attribute on the row level for forecast but I'm not able to add another metric after that.
Any suggestions, anyone?