Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I hope someone can help me. I currently want to do an aggr(RangeSum(Above( based on 2 dimensions in a pivot table.
The table have to be able to expand the period dimensions to show the breakdown per company.
Find attached an excel example.
Thanks in advance.
Note: My measures are rows and my dimensions are columns.
How about this
Sum(Aggr(
RangeSum(Above(
Sum({<FinYear = {'2019','2018','2017','2016'}, ManagementMap4 = {'AUDIT FEE'}, CompanyName>} -Amount)
, 0, RowNo()))
, CompanyName, Period))
May be this
Aggr(
RangeSum(Above(
Sum({<FinYear = {'2019','2018','2017','2016'}, ManagementMap4 = {'AUDIT FEE'}, CompanyName>} -Amount)
, 0, RowNo()))
, CompanyName, Period)
Hi,
Thanks, the numbers seems to be correct now but the non expanded period gives 0's back. Only when expanding it shows the amounts.
Thanks
How about this
Sum(Aggr(
RangeSum(Above(
Sum({<FinYear = {'2019','2018','2017','2016'}, ManagementMap4 = {'AUDIT FEE'}, CompanyName>} -Amount)
, 0, RowNo()))
, CompanyName, Period))
Thanks bud its work.