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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Excluding Null Dates from a Dimension not used in the chart

Hi, I have a chart that neither the dimension nor the expression uses the Date. But the date has some blank values, and return values. So, for example, if I want a expression "sum([Sales])", and select a blank date, I get values. I want to use some sort of set analisys to exclude this date blank values, but I didn't find what went wrong. Can someone answer this for me, please?

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

If you can select a blank date, then it does have a value. Nulls cannot be selected. So try something like sum({<MyDate-={''}>}Sales) or perhaps sum({<MyDate={'?*'}>}Sales)


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

If you can select a blank date, then it does have a value. Nulls cannot be selected. So try something like sum({<MyDate-={''}>}Sales) or perhaps sum({<MyDate={'?*'}>}Sales)


talk is cheap, supply exceeds demand
er_mohit
Master II
Master II

firstly check on supress when value is null for Date in dimension tab

or you can try this also

add calculated dimension

aggr(only({<Date-={' ','-'}>}Date),Date)

Not applicable
Author

Thank you, the second one worked pretty well, can you explain for me what the '?*' means?

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

?* matches any value that is at least 1 character long.


talk is cheap, supply exceeds demand