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
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

Re: Linear Gauge chart value

hi

try this

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

6 Replies
Highlighted
Partner

Re: Linear Gauge chart value

hi

try this

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

Highlighted
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

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
Contributor III

Re: Linear Gauge chart value

Hi Anil,

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

Highlighted
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

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)