Hello,
I have a question based on the dynamic change of font colour of the Subtotal-Sums in Pivottables. The sums should be compared to the time of an other field (MaxBreakdowntime).
So if the Subtotal-Sum is greater than the data of MaxBreakdowntime than the font colour should be red(), if it is less than the font colour should be green(). Please note, but the colour should only change for the Subtotal-Sums not for each row.
Please use the .qvw file for the solution. I hope somebody could help me.
Thanks.
Regards,
Herbert
Hi,
For this kind of scenario you should try to use Dimensionality() function.
Your expression would look like below one.
if(Dimensionality()=2,
if(sum(RealBreakdowntime)>Only (MaxBreakdowntime),red(200),green(200)))
Check my attached application, that will give you clear picture.
Good Luck
Happy Coloring
- Sridhar
Hi,
For this kind of scenario you should try to use Dimensionality() function.
Your expression would look like below one.
if(Dimensionality()=2,
if(sum(RealBreakdowntime)>Only (MaxBreakdowntime),red(200),green(200)))
Check my attached application, that will give you clear picture.
Good Luck
Happy Coloring
- Sridhar
Hi Sridhar,
Thank you very much, I have tried your Solution and it works fine for me, I haven't thought of the dimensionality() function but with this it works.
Have a nice day.
Regards,
Herbert