Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
kaushi2020
Creator II
Creator II

Line chart showing Values as 0.

I am using a Line chat with a toggle button so show Count and Value.

kaushi2020_0-1695211535572.png

in my expression, I am passing a date range from >= 1st of the month <= Current day -1. but if you see here in this, the data for 20th and rest of the day as 0 when I am using below expression. How we can customize so that it show data till 19th (Current Date : 20th Sept 2023) ?

 

if(GetFieldSelections(Data)='Count',
Sum({<Year=, Month=,Date=,Channel={'APP'},Date={">=$(=date(monthstart(max(Date))))<=$(=date(max(Date)-1))"}>}Count),
if(GetFieldSelections(Data)='Value',
Sum({<Year=, Month=,Date=,Channel={'APP'},Date={">=$(=date(monthstart(max(Date))))<=$(=date(max(Date)-1))"}>}Value)))
  

Labels (1)
0 Replies