logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


Welcome Guest ! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
cyracks  
#1 Posted : Monday, September 26, 2022 11:15:43 PM(UTC)
cyracks

Rank: Member

Groups: Registered
Joined: 6/5/2020(UTC)
Posts: 12
Slovenia

Thanks: 4 times
Hello.

Is it possible to share restriction between different models ?

For example on one report I use three different models two MetaData and on SQL model. All models should be restricted by date, but if I add date restriction to each model separately (date is not the same column, nor do I want to rewrite models that it will be) three fields for date restriction are shown.

Is it possible to apply one restriction between different models, where restriction columns are not the same but are the same type.

Regards
epf  
#2 Posted : Tuesday, September 27, 2022 6:33:26 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
Yes, the are several ways to do it.
1 You can create input values: https://sealreport.org/Reports#lineInputs
then create a task that copies the input values into the restrictions you want.
or without input values,
the task can copy the values of reference restriction (e.g. date prompted for model1), then copy the values into other restrictions.


2. Use common restrictions
https://sealreport.org/Sources#lineTables_cr
https://sealreport.org/Reports#lineModels_restr

Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.