Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

help in Dual and Y-Axis

Hello got a bar chart with the following expression:

dual(num(COUNT(DISTINCT VERSION_ID)),num(count(DISTINCT VERSION_ID)/count(TOTAL DISTINCT VERSION_ID),'#,##0.00%'))

the result is fine; I want to display number of versions and on the y-axis display the percentage of number of version by patch to total number of versions

I want to display 0%, 2%, 4%, .... 18%

Untitled.png

Please advise

I can walk on water when it freezes
1 Solution

Accepted Solutions
ali_hijazi
Partner - Master II
Partner - Master II
Author

I added instead 2 expressions

one to show the ratio in percent and another to display the count but I remove the check box on bar so as not to display another bar

Untitled.png

I can walk on water when it freezes

View solution in original post

3 Replies
sushil353
Master II
Master II

Try This:

dual(num(COUNT(DISTINCT VERSION_ID),'#,##0.00%'),num(count(DISTINCT VERSION_ID)/count(TOTAL DISTINCT VERSION_ID),'#,##0.00%'))

if that is not working then goto Number tab and check the option for show in percent

HTH

Sushil

ali_hijazi
Partner - Master II
Partner - Master II
Author

no this will put on the first bar for example 6400%

and if I go to number tab I won't get the count but the ratio in percent on the bars

I can walk on water when it freezes
ali_hijazi
Partner - Master II
Partner - Master II
Author

I added instead 2 expressions

one to show the ratio in percent and another to display the count but I remove the check box on bar so as not to display another bar

Untitled.png

I can walk on water when it freezes