Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
Is there any way, by which I can have total column in Pivot table based on some condition.
eg. If I am having dimension as MonthName as one of the dimension on which I have checked the partial sum check box. Then I want to get total of only selective columns, say Jan,Feb,Mar for that matter.
Thanks In Advance
Yes. It's possible. Use Dimesionality() or secondarydimensionality() functions. see this below
Yes, that's possible. You can use the dimensionality() function to check which level you're at and use this to calculate different expressions: if(dimensionality()=0, sum({<Month={'Jan','Feb','Mar'}>}Amount), sum(Amount)). If your month dimension is displayed as columns you use the secondarydimensionality() function instead.
Yes. It's possible. Use Dimesionality() or secondarydimensionality() functions. see this below
Thanks a lot for your quick reply.
I am a bit confused regarding the functionality of dimensionality() or secondary dimensionality().
Will you please elaborate this, so that I will have a better understanding of the same.
Dimensionality() is for dimensions shown as rows. SecondaryDimensionality() is for dimensions pivoted to columns.