Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for
Did you mean:
Creator III

## Linear Gauge chart value

Hi ,

I am trying to plot a linear gauge chart in a straight table . Following is the expression for the chart

=sum(DependOnDiff)/aggr(sum(TOTAL DependOnDiff),DependsON)

In Gauge setting Min is 0 and Max is 1. and only one segment is selected.

The problem is not all the bar are shown , there are few that has value however it is not displayed in the gauge chart. I am wondering why .

Any idea.

Kind regards,

Ashis

1 Solution

Accepted Solutions
Partner - Master III

hi

try this

=sum(DependOnDiff)/aggr(noditstinct  sum(TOTAL DependOnDiff),DependsON)

6 Replies
Partner - Master III

hi

try this

=sum(DependOnDiff)/aggr(noditstinct  sum(TOTAL DependOnDiff),DependsON)

Creator III
Author

Thank you Liron, it works. Thank you for your help.

what is the difference from the previous expression where I did not use nodistinct .

And, FYQ - NoDistinct helps to sum for all values (i.e. not only unique numbers)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Creator III
Author

Hi Anil,

I would close this tread as correct answer , however I do not see this option .

Creator III
Author

Hi Jens,

Thank you for quick reply. Even if I use only one dimension as jobname , I get only one bar instead of two bars.

since the job has started twice I need to plot two bars instead of one.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Community Browser