Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Qlikview Community,
a simple question from a Qlikview newbie: how do I use the num funtion when I'm combining with sum if?
The following part works:
=
sum(if(Status = 'Closed', [One Off Charge])) resulting in 20158.36, which I would like to format into currency:I have tried:
=num(sum(if(Status = 'Closed', [One Off Charge], '£#,##0'))) which tells me 'Expression OK' but does not change the result into the format I would like.
Help and explanation would be greatly appreciated,
Thank you!
Put a brace that enclosing sum followed by num function
num(sum(if(Status = 'Closed', [One Off Charge])),'£#,##0')
Put a brace that enclosing sum followed by num function
num(sum(if(Status = 'Closed', [One Off Charge])),'£#,##0')
i think you close the bracket in last in your script try this.
=num(sum(if(Status = 'Closed', [One Off Charge])), '£#,##0')
rest of syntax is perfect...
Hi,
In Chart Properties ------------> Number tab
and Enable----------> Expression Default
u ll get the same format as u written in expression
My apologies! I think I had missed off the '=' - it works Thank you!
Thank you! It works