Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Qlik,
Please explain on this.
I do have a fields "Safety Category" and Kms Travelled. I used this below calculation in the frond end text object.
=Ceil(sum({<[Safety Category]={'Green'}>} [Kms Travelled]) / sum([Kms Travelled]) *100) & '%'
Instead of writing above set analysis, i need to generate new field with above calculation. Please let me know the code.
Thanks in advance
May be like this in a separate table:
KPITable:
LOAD Ceil(Sum(If([Safety Category] = 'Green', [Kms Travelled]))/Sum(Kms Travelled])*100) & % as Ratio
Resident .....;
May be like this in a separate table:
KPITable:
LOAD Ceil(Sum(If([Safety Category] = 'Green', [Kms Travelled]))/Sum(Kms Travelled])*100) & % as Ratio
Resident .....;
Many Thanks Sunny.