cancel
Showing results for 
Search instead for 
Did you mean: 

Bookmarks not work when more than one filter panel is used in an application

Former Member
0 Kudos

Hi,

I have tested with a simple application with 2 different data sources (2 queries - monthly and weekly), 2 charts and 2 filter panels (connected to monthly and weekly data sources) side by side on the same page. Then on the same page all bookmark buttons (ADD, LOAD, DELETE, SHARE) were added. Also no target data source is added to any of the filter panel, that is, they should filter separately.

Initial state: the monthly chart is filtered for the last 12 months whereas the weekly chart is filtered for the last 12 weeks.

In the runtime,

Step 1: Add 2 more filters to the monthly chart and the number of filters are as follows:

Monthly chart = 3 (initial 12 month filter + 2 new filters)

Weekly chart = 1 (initial 12 week filter)

Then create a bookmark called "Monthly 3 filters".

Step 2: Add 1 more filters to the weekly chart and the number of filters are as follows:

Monthly chart = 3 (no change)

Weekly chart = 2 (add 1 to the initial filter)

Then create a bookmark called "Weekly 2 filters".

Step 3: Load bookmark "Monthly 3 filters" will result in:

Monthly chart = 3 (as in step 1)

Weekly chart = 3 (initial and 2 new monthly filters in step 1)

PROBLEM: This is different from the state in Step 1 when it was created.

Step 4: Load bookmark "Weekly 2 filters" will result in:

exactly result as in step 3.

Monthly chart = 3 (as in step 1)

Weekly chart = 3 (initial and 2 new monthly filters in step 1)

PROBLEM: not the same state as when the bookmark was created in Step 2.

Do bookmarks supposed to work in this scenario?  I have not seen anything that brings up this limitation.

Thank you in advance for any feedback.

Best regards,

Zabrina

Accepted Solutions (1)

Accepted Solutions (1)

Karol-K
Advisor
Advisor
0 Kudos

Hello Zabrina,

Loaded Bookmark should exactly restore the state as defined on save time stamp. You should check if you have some code in "onStartup()" or "onVariableInitialization()" as this can influence the loading.

if oyu feel this is not restoring the correct state, you will need to open a CSS as we will be not able to process this via forum.

Regards, Karol

Former Member
0 Kudos

Hi Karol,

Thank you for your confirmation. I do not have any "onStartup()" or "onVariableInitialization()", so I will open OSS instead.

Best regards,

Zabrina

Karol-K
Advisor
Advisor
0 Kudos

one more question, do you have perhaps a common variable on this dimension? in that case, it is possible that the separation on runtime is not possible any more.

Former Member
0 Kudos

Yes, I have all except the time dimension are common. You mean that the charts are forced to filter the same way (except time dimension) even though no target data sources are added in the filter panels. This phenomenon occurs only in combination with loading bookmarks. After the bookmarks are loaded incorrectly, one can still individually choose different combination of filters and filter separately in each case. To me, it should as you said early, loading bookmark should restore the same state saved on the timestamp.

Best regards,

Zabrina

Karol-K
Advisor
Advisor
0 Kudos

Hi, hmm, then this can be the "issue". in design studio all variables are merged - this means when a variable is set, all data sources are on the same variable value.

if the variable is on the dimension which can be changed in the runtime by filter in different data sources, then during runtime the filter values are separated. But there is an influence between variable and filter - those must be synchronized. (as you can potentially change the variable on runtime which again will influence the filter...).

Now, when bookmark is loaded, all those informations are saved in the data sources and filters from data source 2 (as last data source which is loaded) are winning.

Q: are they in your scenario? I cannot recognize this in such detail by the initial entry.

I know this is complicated, but the way how BW is handling variables is also complex, I think there will be an improvement in 1.4 release, where fragments of the application can be bookmarked, then you would be able to bookmark additionally some hidden fields which you can restore later into separated filters..

I will check if i can blog on this, perhaps something like this would be possible also in 1.3 release.

Former Member
0 Kudos

Thank you for your inputs. In actual scenario, the application consists of two tabs (monthly and weekly) and in each tab, there is mainly a chart and a filter panel. The users can always choose to filter whatever they want in each of the tab separately and independently and can go back and forth between tabs. With bookmark functionality, I know that it gets complicated with interactions between data sources variables etc and even if it does not work for the whole application, hopefully, at least as you said some fragments of it. In my case, I need one set of bookmarks for monthly tab keeping filter state for monthly data source and another set of bookmarks for keeping filter states in weekly data source. Is this possible to achieve even in !.3 release?

Best regards,

Zabrina

Answers (0)