Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
vanir88
Creator
Creator

how to group same date records as with one date

Hi,


 i have records with [startdate] , so how to club with one [start date]

eg:- i have data like below , and i have added [start date] in filter, in filter it should only show onetime as

1/1/2023 and  result should be 11, 

15/1/2023 result should be 17.

could you please let me know how to achieve this.

startdate result
01-01-2023 4
01-01-2023 1
01-01-2023 6
15-01-2023 10
15-01-2023 7
17-01-2023 50
Labels (2)
1 Solution

Accepted Solutions
Gabbar
Specialist
Specialist

This means that you date has some additional values like hours or minutes, 
Try using this in script:
Date(Floor(DateField),'DD/MM/YYYY') as DateField.

View solution in original post

6 Replies
Gabbar
Specialist
Specialist

In your table in UI use
startDate as dimension and sum(Result) as measure.

vanir88
Creator
Creator
Author

Hi,

we have to drag this [start date] field in filter pane, if you see below 1/1/2023 2 times it is showing,  and 1/2/2023 date showing 2 times right, but i need like in filter it has to show only one 1/1/2023 

vanir88_0-1677561546286.png

 

sasikanth
Master
Master

HI, 

Try Floor([Start Date])   in filter.  

 

Thanks, 

Sasi

MayilVahanan

Hi

In that case, try with

Date( floor([start date] )) as  [start date] 

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Gabbar
Specialist
Specialist

This means that you date has some additional values like hours or minutes, 
Try using this in script:
Date(Floor(DateField),'DD/MM/YYYY') as DateField.

vanir88
Creator
Creator
Author

yes, it worked thank you so much everyone for your help