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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
stats101
Partner - Contributor III
Partner - Contributor III

Group by Date not working

Hi,

I am trying to group a table that has hourly entries such that it rolls in up into daily entries; I have the following in my load script:

[Daily Count]:

Noconcatenate

LOAD

    Date(Floor(Date),'DD/MM/YYYY') AS Date,

    Sum(Count) AS DailyCount

Resident [Hourly Count]

Group By Date;

However it still shows the date as repeated values. Any suggestions to what I could be doing wrong?


Thanks,

1 Reply
sunny_talwar

Try this

[Daily Count]:

Noconcatenate

LOAD Date

    Sum(Count) AS DailyCount

Group By Date;

LOAD Date(Floor(Date),'DD/MM/YYYY') as Date,

    Count

Resident [Hourly Count];