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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
porrmatnoisa
Contributor
Contributor

How to count(distinct date) like this

expression: count(total distinct date)

I need to be on a excel file

porrmatnoisa_1-1707905105442.png

I have no idea. Please Help me.

Thank you

 

 

Labels (3)
1 Solution

Accepted Solutions
Antoine04
Partner - Creator III
Partner - Creator III

Then try with count(total <MonthName> distinct date) : counting all the dates by month.

Is it working ?

View solution in original post

4 Replies
Antoine04
Partner - Creator III
Partner - Creator III

If you have a calendar in your datamodel, you can use "total" to count all the day by month.

Ex : Count(Total Date)

Let me know if you need more help on it. If yes, please share the .qvf

porrmatnoisa
Contributor
Contributor
Author

This is my data model

porrmatnoisa_0-1707964431924.png

 

when I use a total expression "count(total distinct date)" it shows a total of pivot table like this

porrmatnoisa_1-1707964614859.png

Qlik sense does not show each YearMonth and each Year

 

 

Antoine04
Partner - Creator III
Partner - Creator III

Then try with count(total <MonthName> distinct date) : counting all the dates by month.

Is it working ?

porrmatnoisa
Contributor
Contributor
Author

I get it. Think you so much.