
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How calculate number of days
How to calculate number of days in a selection ?
In the following example , the number of days is 54?
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If your data has a Date field associated with Year, Month & Day,
try
count(distinct Date)
This may or may not work depending on your data model.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If your data has a Date field associated with Year, Month & Day,
try
count(distinct Date)
This may or may not work depending on your data model.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if you have the all the data in field than you could use count(filedname)...
can please share the sample data so that it will be helpful for us understand the data


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
go in menu: Setting -> user preferences -> Tab "general" then in the box "Max Values in current selection" write a value (Ex. 50) end see what happen
Let me know


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
Use GetSelectedCount(Day)


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
GetsSelectedCount(Day) will not work as Day is the Day of the Month and only has 31 unique values, so will not give the count of days across multiple months.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Count(Day)


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can to use GetPossibleCount function


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Counting the Date field gives the correct answer, you earlier expression used the Day field which does not give the correct answer.
