Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to filter ConfiForms Table view to only show records from the last 14 days?

Hello,

I use ConfiForms for tracking some items and each record has a "Date Created" field which is automatically set with the date of record creation.

Now I use the TableView macro to view all the data but I want to filter the records to only show me the records created in the last 14 days (2 weeks). I have been trying to figure this out but couldn't find any info in the documentation except an example which uses a specific date and not a relative date like I need.

Any help to limit the records to just the last 2 weeks would be great!

2 answers

1 vote
Katerina Kovriga _Stiltsoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 09, 2022

Hi @davin ,

If you use our Table Filter and Charts for Confluence app, you may try to filter the result TableView macro using date periods (1m, 2w, today,...) via the Table Filter macro as well:

Wed 2-1.png

1 vote
Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 09, 2022

Hi

Set the filter to apply on dataset as 

created:>([today]-14)

or

created:>([entry._now.add(-1209600000)]))

(which is 14 days in milliseconds)

Alex

Thanks Alex,

can you explain to me how to adjust eg. +60days to a DateTime Intervall? 

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 11, 2023

Hi @ASQS 

86400000 milliseconds in a day, so 60*86400000 = 5 184 000 000 or in days (-60) as shown in my previous comment

As for the DateTime interval, then a question to you - do you want to check the start date of the interval or the end date?

As per DTI field's properties

https://wiki.vertuna.com/display/CONFIFORMS/Accessing+field+values+and+properties

mydatetimefield.startDate:>([today]-60)

Alex

Like ASQS likes this

Thank you, End Date was my missing hint. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events