Skip to Content
author's profile photo Former Member
Former Member

DS.clearAllFilters() or DS.clearFilter resetting the Data Source Initial View in Design Studio 1.5

Hi,

DS.clearAllFilters() or DS.clearFilter resetting the Data Source Initial View in Design Studio 1.5.

I have selected only some measures from data source. Then applying filters on the data source based on the selection made in the drop down list. On button "Reset" click i reset the data source using any of the DS.clearAllFilters() or DS.clearFilter method. I am surprised that data source getting reset as Initial View first time. How to overcome with this.

And also i am looking for the some functions like add and remove Measures dynamically not the dimensions.

Finally i want to display data on Crosstab not on Chart otherwise we can do dataSelection for chart.

Design Studio Version : 1.5

BI Version: 4.1 SP 04 Patch 2

Thanks

Saurav Kumar Suman

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jun 12, 2015 at 01:33 PM

    Hi Saurav,

    Let me try to address your questions:

    1. Regarding DS.clearAllFilters() or DS.clearFilter(), can you clarify your issue a little more? If you remove all of the filters, then naturally I would expect to return to the state of the Initial View. What were you expecting instead?

    2. To add and remove measures dynamically you need to use the setFilter() method where the first parameter is the Measure Dimension and the second parameter is the list of Measure Dimension members;

    3. If you apply setFilter() as described in point 2 to the data source assigned to the Crosstab , then the dynamically selected measures will be reflected in the Crosstab.

    Regards,

    Mustafa.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Mustafa,

      What i mean to say is DS.clearAllFilters() or DS.clearFilter(), both method behaving the same at one of our client place. Yes you are correct DS.clearAllFilters() will reset initial view as in 1.4 & 1.5 both the version but DS.clearFilter() also doing the same, it also reset the initial view in 1.5 while i have tested yesterday in 1.4 DS.clearFilter() only removing filter it doesn't reset initial view.

      I will check setFilter() for adding and removing measures, will get back to you.

      Currently client has did new Design Studio 1.5 installation, may be not proper installation, facing something also unexpected.

      Thanks

      Saurav Kumar Suman

  • author's profile photo Former Member
    Former Member
    Posted on Aug 10, 2016 at 08:53 AM

    Hi Saurav.

    Have you solved this question? I have same issue.

    Spark

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.