Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Nocto
Contributor III
Contributor III

Comparison between the Count total IDs on a specific date and the count of total IDS the day before and so on

hey Guys,

I want to for every date to count  the total Number of IDs and want to campare the totals of the day before. how can I accomplish that as Chart expression?

Inline would look like that:

LOAD * INLINE [
Date, ID
02.01.2020, 119912
02.01.2020, 119913
02.01.2020, 119914
02.01.2020, 119915
02.01.2020, 119916
03.01.2020, 119917
03.01.2020, 119918
03.01.2020, 119919
03.01.2020, 119920
03.01.2020, 119921
03.01.2020, 119922
03.01.2020, 119923
03.01.2020, 119924
04.01.2020, 119925
04.01.2020, 119926
04.01.2020, 119927
04.01.2020, 119928
04.01.2020, 119929
04.01.2020, 119929
];

 

 

the Count 02.01.2020 would be 5

the Count 03.01.2020 would be 8

so +3 Ticket were created more compared to 02.01.2020

 

the Count  04.01.2020 would 6

so -2 Ticket were less created compred to 03.01.2020

and so on.

 

1 Solution

Accepted Solutions
JMAROUF
Creator II
Creator II

Hi @Nocto,

Try this:

=if(RowNo()=1,count(ID), count(ID)-above(count(ID)))

View solution in original post

1 Reply
JMAROUF
Creator II
Creator II

Hi @Nocto,

Try this:

=if(RowNo()=1,count(ID), count(ID)-above(count(ID)))