Focal Point
[closed] Flex Line Graphs - Dimensional Filtering options

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/1461084022/m/8187032416

December 12, 2011, 03:51 PM
Moogle
[closed] Flex Line Graphs - Dimensional Filtering options
Hi Team,

The gadget properties sheet for the Flex-based line graphs offer Time and an additional Dimension in the 'Groupings' section. When I assign a dimension other than time, and run the gadget, it automatically filters the gadget output by the first dimension value in the dimension that I chose. If I then choose another dimension value, the chart does that wonderful wiggle to update to the new filter value. However, there does not seem to be any way to not filter by a particular dimension value. What I am asking is if there is a way to default the gadget to include all dimension values and still give me the option to filter it by a particular dimension value? Another way of asking this is that I wonder how I can un-select a dimension filter?

Cheers,

Joey

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


-WebFOCUS 8.2.01 on Windows
December 12, 2011, 04:21 PM
Bob Jude Ferrante
If a filter is defined as Optional in the class - and these properties are not always malleable, so this really has to be defined that way when the gadget is created - then there's a possibility to have no filter.

To remove a Dimension filter, just set the Dimension identifier in the Filter property back to -Select a Dimension-. If you don't get an error when you Preview or Save that, it means the property is option. In other words, the software itself guides you.

hope this helps...


Bob Jude Ferrante
Director of Business and Development
WebFOCUS Performance Management
Bob_Ferrante@ibi.com
917-339-5105

I'll take any questions about PMF - business or technical - anytime!

December 13, 2011, 10:25 AM
Moogle
Hi Bob,

Thank you for the quick reply.

I wonder how I forgot about the gadget class definition; silly me. I investigated the gadget class for one of the Flex-based line graphs, and removed the Group By reference (Group By, not filter). Unfortunately, the gadget failed to run at that point, so it is clearly built to require time and a dimensional Group By.

The issue I'm running into is that I want to have a line graph that shows all data for a measure, but these flex line graphs seem to force a dimensional filter via a dimensional Group By with a value selection at run-time. The work-around I've found is to group the gadget by a dimension that the measure does not use, although then the gadget says ' Target over Actual by Month: [None]' That's not ideal, but I like these flex gadgets so much that I'd rather put up with that than go back to using a 2D line graph.

Cheers,

Joey


-WebFOCUS 8.2.01 on Windows
December 13, 2011, 10:55 AM
Bob Jude Ferrante
A Flex gadget has two parts - a SWF that's designed to interface with the data controller for PMF data, and a class definition that defines the gadget's personality. But there are limits to how flexible a Flex gadget can be - at the end of the day a SWF is made up of code, and that code expects certains parameters inbound. The line chart expects a parametric filter of Dimension, so removing that filter from the class isn't enough to force the SWF to not expect that parameter. And the SWF has to group by time, since that's the nature of the Line chart - it shows changes over Time and the Time filter determines the time stop/start points shown. So removing time from the parameter stream would cause the gadget to not work.

If you want to not limit the gadget to a Time Range, you can use the time filter [All] which is basically saying - show all of Time. You don't have to define that in the gadget class, rather the end user or the person designing the dashboard can specify that as a default.

Hope this helps.


Bob Jude Ferrante
Director of Business and Development
WebFOCUS Performance Management
Bob_Ferrante@ibi.com
917-339-5105

I'll take any questions about PMF - business or technical - anytime!