Dependent filters don't work when using setting service with attributes

Issue #541 resolved
Scott Wiltshire created an issue

Describe the bug
If a filter is dependent on another hierarchy then using setting service to set the default element doesn’t work. e.g. there is an attribute “Sector” in the “Company” dimension which is an alias of an element in the “Sector” dimension.

This does not work:

Default Element = $<<CorpFinance.Quote Analysis Company.Quote Analysis Company::Sector>>

Changing the selection of the company dimension has no effect on the sector selection. Also on first landing on the page the correct value is also not set.

However using the MDX field to restrict the element list to a single element does work and does result in the sector updating when company is changed.
MDX = {[Sector].[Sector].[$<<CorpFinance.Quote Analysis Company.Quote Analysis Company::Sector>>]}

To Reproduce
Steps to reproduce the behavior:

  1. Use setting service variable with attribute to attempt to set one filter value based on another filter

(Filter bar settings have “all attributes” and “wait for filterbar” both set to true)

Expected behavior
Value should update when using setting service for default element

Comments (1)

  1. Log in to comment