Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
charles1981
Contributor II
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
marcus_sommer

Try it with:

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

- Marcus

View solution in original post

1 Reply
marcus_sommer

Try it with:

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

- Marcus