Skip to Content
0
Aug 25, 2023 at 09:52 AM

Filter Lines in Analytics App Inconsistent

117 Views

Hi

When using a Filter Line in an Analytics Application, I am noticing a difference when selecting either an Individual Widget Filter and a Group Filter.

Both work fine but I am trying to programatically retrieve what filters are applied on a data source (e.g., connected to Table_1). I am using the code below to retrieve the DS

var ds = Table_1.getDataSource();

I am then looping through the ds to get all the dimensions

var dimensions = ds.getDimensions();

and from there... getting all the filters attached to the dimension.

ds.getDimensionFilters(dimension);

This is all based on the 'Sample' application SAC provide for passing URL variables.

When using the Filter Line 'Individual Widget' for Table_1, I am able to retrieve the filters. However, when using a 'Group Filter', I can see no filters against the dimensions (despite the table being filtered).

Reason for doing all this is that I want to be able to pass specific dimension filter values between Analytic Apps.

Any ideas?

Thanks

Ian.