Focal Point
[SOLVED] Create a filter to display based on a field

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9847078076

May 26, 2014, 04:18 PM
hfung1
[SOLVED] Create a filter to display based on a field
Hi,

I have a pretty simple table I am using with the following fields: Year, Month, Count of Incident, Rate of Incident, Incident_type, and Location.

I am trying to create a Guided report, where the user selects one or both metrics (Rate, Count) and then there are two dimensions (Location, and type), and across is the Year/Month.

I was able to successfully break out my dimensions/metrics. But when I run the report, it comes up to being quite a mess. For example, every column repeats itself (what the incident type is), I was thinking is there anyway to clean it up? For example, can you make the selection at the beginning to only show the incident type of "falls" (one of the possible values in the incident_type field), or select one of the units only and only display those?

My code is as follows:


TABLE FILE FACT_RISKPRO_RATES
PRINT
&METRICS.(AND(,)).METRICS.
&DIMENSIONS.(BY(,)).DIMENSIONS.
ACROSS LOWEST
&XTABS.(ACROSS(,)).XTABS.

This message has been edited. Last edited by: hfung1,


8.0.0.2
Windows, All Outputs
May 27, 2014, 09:54 AM
MartinY
Add a WHERE clause.

See WF tutorial for Guided Reports:
Guided Reports part 1
Guided Reports part 2


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
May 30, 2014, 03:37 PM
hfung1
Hi,

Thank you, the videos were very helpful!


8.0.0.2
Windows, All Outputs