Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Gauge chart


I like to modify the gauge chart in the example i attached.

I try to introduce some data limitation, but they not work.

please could you help me. thanks

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

The same expression still needs to be inside the actual "Definition" make sure that you also have corrected this expression.

Capture.PNG.

View solution in original post

11 Replies
MK_QSL
MVP
MVP

You need to use expression as below

=NUM(SUM({<Year = {'$(=Year(Today()))'}, AlsisStatus = {'G','J'}>}OrderCount)/2000,'#0.00%')

Not applicable
Author

Qlickview said ....Error: Garbage after Expression:"NUM".

But expression was defined ok from Experssion editor

Not applicable
Author


Hi i have 0 as value now as you can see from attached picture, please where is the errors?

Anonymous
Not applicable
Author

Hi

Try this innstead

num(SUM({<Year = {$(=Year(Today()))}, AlsisStatus = {'G','J'}>}OrderCount/6),'# ##0%')

Anonymous
Not applicable
Author

Here is an example .qvw

Due to limited data target is set to 6 rhe expression needs to be edited to divide with 2000 when full dataset is loaded

Not applicable
Author

I cannot download it , I have still a free edition of qlickview.

i asked to my company to have a complate version of qlickview.

we have qlickview for others factory department and I am trying to introduce for my too.

Anonymous
Not applicable
Author

Hi,

The document only contains a Guage with the expression seen below. Depending on the amount of data loaded in your document you might want to replace the /2000 with a lower number for testing (only if you are not loading the fulle dataset.

num(SUM({<Year = {$(=Year(Today()))}, AlsisStatus = {'G','J'}>}OrderCount/2000),'# ##0%')

Not applicable
Author

Hi

thanks for the reply , but this formula seems not work in my data.

Please see the attachment.

Thanks

Anonymous
Not applicable
Author

It looks like you are missing a bracket in the last section after 2000 try copy past of the expression.