# USQL FUNNEL count clarification

**URL:** <https://community.dynatrace.com/t/usql-funnel-count-clarification/18733>\
**Category:** Open Q&A\
**Tags:** usql\
**Created:** [March 12, 2020, 3:05am UTC](https://community.dynatrace.com/t/usql-funnel-count-clarification/18733 "2020-03-12T03:05:14Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![chuan\_sern\_wong](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chuan_sern_wong/32/32488_2.png) [@chuan\_sern\_wong](https://community.dynatrace.com/u/chuan_sern_wong)\
**Post date:** [March 12, 2020, 3:05am UTC](https://community.dynatrace.com/t/usql-funnel-count-clarification/18733/1 "2020-03-12T03:05:14Z")

</div>

Hi,

Could anyone from Dynatrace explain how does the USQL Funnel derive the count ? I am experimenting this new USQL FUNNEL function and was trying to match the count but doesn’t seem to be tally,

For example, I have 3 user actions ! = /index/login, = !/index/landing and LIKE “!/index/\*/create”

here’s the USQL statement:

Use COUNT

SELECT useraction.name, COUNT(DISTINCT(usersession.userId)) AS number FROM useraction where useraction.name = “!/index/login” OR useraction.name = ‘!/index/landing’ OR useraction.name LIKE “!/index/\*/create” AND errorCount = 0 GROUP BY useraction.name LIMIT 5000

Use FUNNEL:

SELECT FUNNEL(useraction.name = “!/index/login” AS “Login page”,useraction.name = ‘!/index/landing’ AS “Landing page”,useraction.name LIKE “!/index/\*/create”) FROM usersession

But the count between COUNT and FUNNEL differ by alot… anyone helpful to share some lights on the difference ? FUNNEL function count is very low and even though I am able to find those user actions via UserSession dashboard but FUNNEL didn’t account for it.

---

_[View the full topic](https://community.dynatrace.com/t/usql-funnel-count-clarification/18733)._
