Jump to content
Sign in to follow this  

Relationship to show all data from the last two weeks

Recommended Posts

I know I must be stupid, but I can't figure out how to make this work. I have a set of data, and I need to display all the data from that set generated in the last two weeks (from current date). This must be done in the current record being worked on live, so it has to be through a portal, not a find. Can someone tell me how to do this?

Thanks :)


Share this post

Link to post
Share on other sites

Hi J,

Create a calculation (result is date) maybe called cTwoWeeksAgo with: Get ( CurrentDate ) - 14 and set it to unstored in storage options.

Create a relationship from this field as:

thisTable::cTwoWeeksAgo ≤ otherTable::yourRegularDateField

Place the portal to this other table on your layout. This can also be a self-join.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

By using this site, you agree to our Terms of Use.