Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Friends
I have created a pivot table in my QV document which is attached herewit. In my pivot tbale I want to sort Dept based on growth rate of 2017. However though Department are sorted in correct way against Dept 'A' other two dept take a different order. Kidnly help me to sort out this issue. My correct table should look like shown below.
This is my real data. Pls look into this and help me
Is this what you want? No more nulls?
Thanks Sunny,
This is not excatly I want. Whne you view the pivot table without selecting month there no null values. all values are associated with a Branch. Only when I select amonth the problem comes. What I want is to not to have any null value when I select a month without supressing Zero Values. Pls help
Try this
=Aggr(Dual(Only({<MONTH, YEAR>}BCOD),
RangeSum(
Rank((SUM({<YEAR={"$(=MAX([YEAR])-1)"}, MONTH>}PREMIUM)
-SUM({<YEAR={"$(=MAX([YEAR])-2)"}, MONTH>}PREMIUM))
/SUM({<YEAR={"$(=MAX([YEAR])-2)"}, MONTH>}PREMIUM)*100),
Rank(SUM({<YEAR={"$(=MAX([YEAR])-1)"}, MONTH>}PREMIUM))/1E7,
Only({<MONTH, YEAR>}Aggr(NODISTINCT Rank(Only({<MONTH, YEAR>}CLASS)), CLASS)) *1000000)
), CLASS, BCOD)
Thanks Sunny.
It is perfect and works fine though It is difficult for me to undestand.