Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

SET analysis syntax problem

I´m trying to use this

round((count({<AAR={'2014'},Gruppe={'Indbrud i beboelse'} >}SJOURNALNR))/count({<AAR={'2014'},Gruppe={'Indbrud i beboelse'} >}JOURNALNR))*100,0.1 & '%' 

but there is a problem somewhere at the end???????

4 Replies
morganaaron
Specialist
Specialist

Is 0.1 your step for rounding? If so, you need to remove the second bracket after JOURNALNR and put a bracket after the 0.1.

Not applicable
Author

why you need parenthesis around the first count, remove it. That makes it cleaner.

Anonymous
Not applicable
Author

Here it is:

if you want to perform round for first part below is the one.

=round(count({<AAR={'2014'},Gruppe={'Indbrud i beboelse'} >}SJOURNALNR))/count({<AAR={'2014'},Gruppe={'Indbrud i beboelse'} >}JOURNALNR)*100,0.1 & '%'


if you want to perform round for whole then below:


=round(count({<AAR={'2014'},Gruppe={'Indbrud i beboelse'} >}SJOURNALNR)/count({<AAR={'2014'},Gruppe={'Indbrud i beboelse'} >}JOURNALNR))*100,0.1 & '%'


and I don't understand why you kept 0.1 you can remove it if not required


Hope this helps.


BR,

Chinna

jagan
Partner - Champion III
Partner - Champion III

Hi,

Check this expression below

=round((count({<AAR={'2014'},Gruppe={'Indbrud i beboelse'} >}SJOURNALNR)/count({<AAR={'2014'},Gruppe={'Indbrud i beboelse'} >}JOURNALNR)*100),0.1) & '%'

Regards,

Jagan.