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

line chart display %

Hi Experts,

I need to display a static 100% on this graph. Even whennothing is selected from TPName, the lines should display the utlization for that TPName. E.g. for the below TPName, the graph shoud display at 33% for all codes even if I do not select the  TPName.

 

CodeTPNameUtilization
100%
992ZZPjiuaf Irbvmykxlaql33%
992Z2Pjiuaf Irbvmykxlaql33%
992Z4Pjiuaf Irbvmykxlaql33%
992Z5Pjiuaf Irbvmykxlaql0%

When that specific TPName is selected

tname.PNG

When nothing is selected the graph resizes to 5 %

AllTName.PNG

Please help!

1 Solution

Accepted Solutions
sunny_talwar

May be this?

sum(Units)/Sum(TOTAL <TPName> {<Code={'992Z2','992Z4'}>}Units)

Capture.PNG

View solution in original post

6 Replies
sunny_talwar

Not sure what your expression is, but assuming it is Count(Measure), you can try like this

Count(Measure)/Count(TOTAL <TPName> Measure)

and make sure that relative is unchecked on the expressions tab for this expression.

vinieme12
Champion III
Champion III

Have you check Static Min,Static Max values in the Axes tab?

How can the Chart scale DOWN to 5% when one of your dimension values is upto 33%

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Not applicable
Author

Thanks Sunny and Vineet. Here is the sample QVW.

Not applicable
Author

Please see this sample QVW

sunny_talwar

May be this?

sum(Units)/Sum(TOTAL <TPName> {<Code={'992Z2','992Z4'}>}Units)

Capture.PNG

Not applicable
Author

Thanks Sunny. This works in the chart, but this does not display in the graph,.I want the graph to display 38%, 62% curve for this TPName all the time, not just when I select this TPName.

Graph.PNG