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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
shyamcharan
Creator III
Creator III

Sorting on Null value Dates

Hi Experts,

I do have a chart with Date Dimension Drill Down with Month and Year from Fiscal Year. Also, the Operational Assets and the Activity Cost included.

For certain dates there are no values for Asset and Activity Cost. I have forced the graph to show all the months regardless of the data values. But I am trying to sort the months with the Fiscal Month column order. However it does not work and I believe it is because of the Null values as shown in the Table on the right hand side.

Can someone please help sort the months on X-axis as per fiscal year order(eg: July2014  to June2015). I guess this is sorting on null values. How can I meet my requirement.

Regards,

Shyam.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Sort expression: =Only({1}ReportingDateDim.FiscalMonth)

View solution in original post

5 Replies
tresesco
MVP
MVP

Sort expression: =Only({1}ReportingDateDim.FiscalMonth)

shyamcharan
Creator III
Creator III
Author

Thank you very much Tresesco. That fixed my issue. Cheers.

Regards,

Shyam.

shyamcharan
Creator III
Creator III
Author

Hi Tresesco,

Just wondering why I do see the graph below the Zero line though the Cost is never negative.

Appreciate if anyone could help me understand this behaviour.

Thanks in advance.

Regards,

Shyam.

tresesco
MVP
MVP

Because your line type is chosen 'Smooth' (Display options) in the expression tab, and your data points are months, so to move from one month to another qv chose to go smooth and that is in this case down the line. Otherwise, if you see the end points(months - Feb and Mar are rightly pointing to 0). If you choose the line type as 'Normal', you will see the change.

shyamcharan
Creator III
Creator III
Author

That makes sense to me now. Thanks heaps Tresesco.

Appreciate a lot for your help.

Regards,

Shyam.