Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Display all months in X axis and Expression

Hi All ,

I have line charts and in x Axis the months are displayed in altrenative way like  below screenshot 

Why is this not hsowing Feb, April,June and so on  any gues ? 

smilingjohn_0-1626069846641.png

 

Expression 

My Below expression is working fine when I have only count like below 

count({<PROJECT={'Cricket','Hockey','Wrestling'},CASE_ID-={'null'},STATUS={Active},Year={'>2019'}>+
<PROJECT={'Cricket','Hockey','Wrestling'},CASE_ID-={'null'},STATUS={Active},Year={'>2019'}>}Matches)

No Result 

If I add  if(GetFieldSelections(Team)='India', this dont show any result for me , Can anyone please help me in sorting this ?

if(GetFieldSelections(Team)='India',
count({<PROJECT={'Cricket','Hockey','Wrestling'},CASE_ID-={'null'},STATUS={Active},Year={'>2019'}>+
<PROJECT={'Cricket','Hockey','Wrestling'},CASE_ID-={'null'},STATUS={Active},Year={'>2019'}>}Matches))

 

 

Thanks 

1 Reply
PiEye
Contributor III
Contributor III

Hi John

For the chart issue, the setting you need is in the chart properties, under the "axis" tab. Ensure the X axis type is set to continuous, and it will give you the option to change the step between categories: 

PiEye_0-1626082035913.png

 

For the second issue, can you describe more what you are trying to achieve? The condition is looking for the case where only India is selected; is this what you are doing?

Pi