Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
...
...
...
...
...
...
- Open the model
Dashboards and Forms 01-08: Views, filters and dashboards
- Open the stream configuration form for
Overall Debt Levels
- Go to the Views section
...
Set:
...
Display Type: Line Chart (time)
...
The best way to configure views is to add them to a dashboard first. Create a dashboard for this view:
- In the repository browser, find - Dashboards
- Press - Add Dashboard
- Set the dashboard name to
Debt levels by payment means
- Drag your view
Debt levels by payment means
onto the dashboard pane - Because you are in design mode, you will see a set of configuration fields
To complete the configuration:
...
Notice that as you drag attributes across, they are added to the list of stream view attributes, with the appropriate role set.
...
...
Vertical Axis Title
...
...
...
...
Day
...
Primary Axis Format
...
Day in month
...
Secondary Axis Unit
...
Month
...
Secondary Axis Format
...
January, February
- Press
- To update the dashboard into display mode (from design mode), anywhere on the view in the dashboard:
- Right click → Dashboard Options → Lock the layout
- You will now see you chart
To go back into design mode - that is, to see the chart builder - on the chart:
- Right click → Unlock the layout
...
...
...
...
...
...
...
...
...
...
...
...
...
...
tick
...
Vertical Axis Title
...
...
...
...
...
...
...
Name
...
Debt overview by payment means
...
Display Type
...
3D Pie Chart
...
DebtLevel
...
LABEL ATTRIBUTE
...
PaymentMeans
...
Show Legend
...
tick
...
Show Values on Charts
...
tick
Create an aggregate view
Now you will create a grid view on the data in Overall Debt Levels
, but to show aggregated totals by payment method:
- Add a new grid view, called
Debt totals by payment means
- Drag the attribute
PaymentMeans
into the View Attributes list - Drag the attribute Count() into the View Attributes list (this attribute is available on any grid view in PhixFlow, regardless of what attributes have been set up in the stream)
- Drag the attribute
DebtLevel
into the View Attributes list- Now double-click on this attribute in the View Attributes list
- You will see the stream view attribute configuration form:
- Set the Name to
TotalDebtLevel
- Select the Stream Function: Sum
- Press
- Set the Name to
- Press on the main stream view configuration form to save your changes
...