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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count occurences of values

Hello Qlikview Developers,

I've got a little problem trying to count occurences of a formular result - this is my table:

Supplieravg. delivery time
Sup110
Sup212
Sup312
Sup412
Sup518
Sup618

Result should look something like this:

avg. delivery timeoccurences
101
123
182

I don't know how to get a grip on that, especially if there should be the possibility to drilldown to the suppliers... Any Ideas?

Thanks in advance...

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Try this dimension.

Aggr(avg(deliverydate-expecteddeliverydate) ,Supplier)


Count(Aggr(avg(deliverydate-expecteddeliverydate) ,Supplier))

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

4 Replies
tresesco
MVP
MVP

Straight table:

Dim: [avg.delivery time]

Exp: Count([avg.delivery time])

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

All you need to do is create a straight table and keep Delivery Time as Dimension and

Count(Delivery time) as Expression.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

The avg. delivery time is based on a formular - avg(deliverydate-expecteddeliverydate) -> When I'll try to put that into a dimension I just got '//Failure in Dimension'.

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Try this dimension.

Aggr(avg(deliverydate-expecteddeliverydate) ,Supplier)


Count(Aggr(avg(deliverydate-expecteddeliverydate) ,Supplier))

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!