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: 
Not applicable

Top 15 DATETIMES

My date field has a time stamp.How can I create a calculated dimension which displays only Top or Recent 15 date times. Dimension limits didn't work when i select show only first 15 values.

1 Solution

Accepted Solutions
sunny_talwar

May be like this for your calculated dimension:

If(Max(TOTAL DATETIMES, 15) <= DATETIMES, DATETIMES)

View solution in original post

4 Replies
sunny_talwar

May be like this for your calculated dimension:

If(Max(TOTAL DATETIMES, 15) <= DATETIMES, DATETIMES)

Not applicable
Author

Great,it worked

Not applicable
Author

stalwar1‌:If I use that expression as calculated dimension,I am not able to select a specific datetime .If I select any datetime field then the straight table gives zero results.Is there any way to over come this??1.PNG

2.PNG

sunny_talwar

How about if you try this:

If(Max(TOTAL {<DATETIMES = {"<=$(=Max(DATETIMES))"}>} DATETIMES, 15) <= DATETIMES, DATETIMES)