Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
manoranjan_d
Specialist
Specialist

x axis on bar chart

Hi,

I m using dollar list box of  billions,million, thousand

where the value is


=If(amt='Millions', 1000000,

If(amt='Thousands', 1000,

If(amt='Billion', 100000000,1)))

its assigned to the vAmt variable

now i m using the bar chart

dimension as

MSG   field is used

expression as

=sum(spnd )/vAmt


now my issue is when ever i select the thousand or billions or millions in list box, my bar chart  x axes should always show the gap interval of 5 10 15 in the x axis to all the list box which select in dollar list box,


when ever i select the millions or billions or thousnand the gap interval in the x axis is getting differ



for example for billions 0.0000 0.0005 0.0010 0.0015

for millions 0.00 0.05 0.10 0.15

for thousand 0 50 100 150


so need this gap interval always to be same as 5 10 100 for any selection in dollar list box

   

5 Replies
rubenmarin

Hi, If your example for billions has left a '0' (0.00005 instead of 0.0005) you can use the 'static increment' in the axis tab, the increment can be:

=50000/vAmt

manoranjan_d
Specialist
Specialist
Author

can u put me screen shot for this

manoranjan_d
Specialist
Specialist
Author

statuc i have staic min and static max

rubenmarin

I don't have data but I'm tlaking of this:

1.jpg

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi

Here is the image.

Regards,

Kaushik SolankiCapture.PNG

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!