Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have records with empty date entries like the following:
Date | Count | Activity |
---|---|---|
07/01/2016 | 5 | View |
08/01/2016 | 10 | View |
08/01/2016 | 5 | Create |
10/01/2016 | 5 | View |
12/01/2016 | 2 | Create |
13/01/2016 | 6 | View |
I am using the following expression sum({<Activity={'View'}>}Count) to try and produce a line chart for view activity only, however it skips the intervening dates where rows with the value do not exist. It works interestingly when I remove the set analysis. I am using a master calendar.
Any help appreciated.
Thanks,
Message was edited by: Shuhel Miah with new detail
Try this expression:
Sum({<Activity={'View'}>}Count) + Sum({1}0)
and uncheck 'Suppress Zero Values' on the presentation tab.
This video helped me with it. It might be able to help you.
https://www.youtube.com/results?search_query=qlik+sense+master+calendar
Hi Lauren,
Thank you for the response. I did a bit more investigation work, and have realised that the set analysis query is causing the behavior. Have updated my original question.
Regards,
Shuhel
Try this expression:
Sum({<Activity={'View'}>}Count) + Sum({1}0)
and uncheck 'Suppress Zero Values' on the presentation tab.
I had to remove the 1 as it was ignoring selections i.e. Sum({<Activity={'View'}>}Count) + Sum(0) but it works. Excellent!