Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

count days

something easy.

I want to count the amount of activity in a web site. the data I have related with dates is 3 diffrent fields.

I want to set a graph showing how much times I can see every one of the 3 fields in a year then a quarter and a month.

my fields name is: follows, search and registers. all of them contain dates.

thank you in advance.

Asaf Cadmon

1 Solution

Accepted Solutions
vgutkovsky
Master II
Master II

Asaf,

See attached. There are many possible solutions, but this would be my approach.

Regards,

Vlad

View solution in original post

3 Replies
vgutkovsky
Master II
Master II

Asaf,

See attached. There are many possible solutions, but this would be my approach.

Regards,

Vlad

Sokkorn
Master
Master

Hi Asaf Cadmon,

Load data like this

OLEDB CONNECT TO [Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=master;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=DHC0N04J;Use Encryption for Data=False;Tag with column collation when possible=False];

LOAD

    Follows,

    YEAR(Follows)    AS [Year-Follows],

    Registers,

    YEAR(Registers)    AS [Year-Registers],

    Search,

    YEAR(Search)    AS [Year-Search];

SELECT * FROM master.dbo."site use";

In bar chart create [Year-Follows] as Dimension and SUM(IF([Year-Follows]=[Year-Registers],1,0)) as Expression.

Hope this help.

Regards,

Sokkorn

Not applicable
Author

wow, you two did some wonderful work here!

thank you very much!!