Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Make your voice heard! Participate in the 2020 Wisdom of Crowds® Survey. BEGIN SURVEY
Highlighted
ashissau
Contributor 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
Highlighted
Partner
Partner

Re: Linear Gauge chart value

hi

try this

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

View solution in original post

6 Replies
Highlighted
Partner
Partner

Re: Linear Gauge chart value

hi

try this

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

View solution in original post

Highlighted
ashissau
Contributor III

Re: Linear Gauge chart value

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

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

Highlighted

Re: Linear Gauge chart value

Please close this thread by flag correct answer as you already got the answer.

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

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Highlighted
ashissau
Contributor III

Re: Linear Gauge chart value

Hi Anil,

Thank you for your answer.

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

Highlighted
ashissau
Contributor III

Re: Linear Gauge chart value

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.

Highlighted

Re: Linear Gauge chart value

Have a look Qlik Community Tip: Marking Replies as Correct or Helpful

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)