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: 
himabinduch
Creator
Creator

Cumulative Total

Hi All,

i have below fields

1. Created_date

2.Shipped_date

3.Item

now i want count of Items Which have been shipped  and Creted

below is my sample data

  

ITEMCREATION_DATESHIPPED_DATE
CP90-NP401-20TR10/09/201513/01/2016
CD90-Y8864-6TR05/03/201513/01/2017
CD90-NE884-31TR06/11/201413/02/2015
CP90-NT736-2TR12/01/201513/03/2015
CD90-YA352-1TR27/01/201613/03/2016
CP90-P4969-33TR18/08/201613/03/2017
CD90-Y7602-13HR19/12/201413/04/2015
CD90-Y7632-8TR22/09/201413/04/2015
CD90-Y7636-916/01/201513/04/2015
CD90-NT069-3TR05/05/201513/06/2015
CP90-P1131-8TR16/03/201613/06/2016
CD90-N6015-20BT13/07/201413/07/2015
CD90-NJ627-51TR15/12/201413/07/2015
CP90-P3860-5TR18/08/201613/07/2017
CD90-ND519-4TR13/07/201413/08/2014
CD90-NE810-49TR13/07/201413/08/2014
CD90-NH190-3TR13/07/201413/08/2014
CD90-Y5714-112/07/201313/08/2014
CD90-Y5805-111/07/201313/08/2014
CD90-Y5807-411/07/201313/08/2014
CD90-Y5832-1TR14/07/201313/08/2014
CD90-Y6236-212/07/201313/08/2014
CD90-Y7714-313/07/201413/08/2014
CD90-Y7714-413/07/201413/08/2014
CP90-N7415-10TR13/07/201413/08/2014
CP90-Y5259-229/05/201413/08/2014
CP90-Y6193-1TR12/07/201313/08/2014
CD90-Y8121-2TR02/02/201513/08/2017
CD90-ND531-39TR21/08/201513/09/2015
CD90-NK349-7HR05/08/201413/09/2015

Thanks In Advance

Thanks,

hima

1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi,

have a look at this!

Then if you want the total you can sum the field COUNT

View solution in original post

8 Replies
Anonymous
Not applicable

Hi,

have a look at this!

Then if you want the total you can sum the field COUNT

shiveshsingh
Master
Master

you are having 2 columns which shows created date and shipped date.

Now how are you counting which item is shipped? i guess all the item whcih are created are showing shipped in your data.

Please elaborate the expected count.

sunny_talwar

Are you hoping to see a count by a date dimension? From what I understand, you might need IntervalMatch‌ where you will interval match between Creation_date and Shipped_date and master calendar.

PrashantSangle

what is your expected output??

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
himabinduch
Creator
Creator
Author

Hi Sunny,

now i have count of shipped items and created items,

in my data i have two created items in 2013Q1 and it got shipped in 2014Q3 and 2015Q4 .

when i am taking this into pivort it is showing for 2014Q3 as 100% and 2015Q4 as 100%

i need output as 2014Q3  50% and 2015Q4 as 100% (cumulative) how i can get it.below is my current data looking like

Capture2.PNG

Thanks,

Hima.

sunny_talwar

Without knowing what you have, it would be difficult for me to comment anything... would you be able to share a sample to check this out?

himabinduch
Creator
Creator
Author

Hi Sunny,

i created new blog for the same. and attached the QVW pleas find the blog URL Below

https://community.qlik.com/message/1436109#1436109

sunny_talwar

Try this

=RangeSum(Before((count({$<SHIPPED_DATE={'*'}>}DISTINCT ITEM))/(count(TOTAL <YearQuarter>{$<CREATION_DATE={'*'}>}DISTINCT ITEM)), 0, ColumnNo()))