Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Highlighted
charles1981
New Contributor II

Round off issue

Hi,

I am using the below in the expression and its not working

=Round(Alt(Sum({<Program={$(varBaseProg)}>}IndData) / Sum({<Program={$(varBaseProg)}>}AARFact) *10,0),0.000)

but when I use without round off like below I am getting results

=Alt(Sum({<Program={$(varBaseProg)}>}IndData) / Sum({<Program={$(varBaseProg)}>}AARFact) *10,0)

Can anyone please help what is wrong when using round function in the expression?

 

1 Solution

Accepted Solutions
MVP & Luminary
MVP & Luminary

Re: Round off issue

Try it with:

Round(Alt(Sum({<Program={$(varBaseProg)}>}IndData) / Sum({<Program={$(varBaseProg)}>}AARFact) *10,0),0.001)

- Marcus

1 Reply
MVP & Luminary
MVP & Luminary

Re: Round off issue

Try it with:

Round(Alt(Sum({<Program={$(varBaseProg)}>}IndData) / Sum({<Program={$(varBaseProg)}>}AARFact) *10,0),0.001)

- Marcus