- Create a filter using an expression
- Set a default filter on a Stream View
Anchor |
---|
| _Ref395276067 |
---|
| _Ref395276067 |
---|
|
Anchor |
---|
| _Toc402702601 |
---|
| _Toc402702601 |
---|
|
Anchor |
---|
| _Toc442889100 |
---|
| _Toc442889100 |
---|
|
Create a filter using an expression- Open the model Dashboards and Forms 01-08: Views, filters and dashboards
- Open the view Debt levels by payment means 2 from the Stream Overall Debt Levels
...
- In the chart press
- Press
- Configure the filter with the following details:
- Name: Last 40 days
- Private: not ticked
- Conditions:
- The condition dialogue starts with Where ALL the following are true - leave this as it is
- Press Select – from the drop down list that appears, select CalculationDate
- Press on equals - from the drop down list that appears, select greater than
- Click just to the right of greater than - an edit box will appear; enter this formula:
...
- Press the ABC button - this will now say fx
- When you have completed all these details press
Your grid should now show only results from the last 40 days.
Anchor |
---|
| _Toc351986483 |
---|
| _Toc351986483 |
---|
|
Anchor |
---|
| _Toc402702602 |
---|
| _Toc402702602 |
---|
|
Anchor |
---|
| _Toc442889101 |
---|
| _Toc442889101 |
---|
|
Set default filter on a viewSince the view Debt levels by payment means 2 is too cluttered to be useful with all results showing, you decide to make the filter Last 40 days, that you created in the previous exercise, the default filter for this view:
...
Close then open the view again – you will see that the filter has been automatically applied.
Anchor |
---|
| _Toc351986484 |
---|
| _Toc351986484 |
---|
|
Anchor |
---|
| _Toc402702603 |
---|
| _Toc402702603 |
---|
|
Anchor |
---|
| _Toc442889102 |
---|
| _Toc442889102 |
---|
|
Using the same filter on other viewsYou can use the filter you created in the previous exercise on any other view defined on this stream, but first you must associate the filter with the view:
...