I have a scenario where in using the below expression for YTD. This is working fine in many cases but breaking in few.
While generating data for Q2 period YTD is not populating correctly. Upon investigation found that some of the transactions are not flowing beyond Q1 so our aggregation on account is failing. I would need this aggregation to get the right PercentageShare value for corresponding account.
Without aggregation, numbers are perfect but we will not get the proper PercentageShare respective for the account.