Skip to Content

How apply background De-active filter using Dimension Filter ?

Hi Experts,

Suppose I have a single data source name DS_1 and I applied DS_1 source to both chart and Crosstab as below,

When I selecting Year filter from Dimention filter only chart changed depends on year and crosstab don't change.

How to De-filtering to crosstab component.

thanks,

Sekhar

capture.jpg (66.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • I am not following and I cannot recreate this issue

    Are you saying you filter only the chart filters, and not the cross tab? The numbers for California look the same to me.

    Please also clarify, and share version of Design Studio

  • Get RSS Feed

6 Answers

  • Nov 17, 2016 at 06:15 PM

    Hi Tammy,

    Yes, filter apply only the chart filters and not apply to crosstab.

    Design studio version 1.6

    Thanks,

    Sekhar

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 17, 2016 at 07:01 PM

    Please share an image of your outline and properties of the application in Design mode

    I can't replicate it on 1.6 SP2

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 18, 2016 at 12:54 AM

    Hi Sekhar,

    If your requirement is that you only want to apply the Year filter to the chart and not the crosstab as well, then you will need to duplicate the data source and assign the copy to the crosstab. The Dimension Filter should then only target the first data source which is assigned only to the chart.

    Regards,

    Mustafa.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Sekhar,

      Yes, unfortunately duplicating the data source will impact performance. However, I can't think of an alternative, more efficient approach to achieving your requirement. Is there a reason why the Year filter should only apply to the chart and not the crosstab? It would seem to me that for consistency of comparing the chart to the crosstab data, the Year filter should be applied to both.

      Regards,

      Mustafa.

  • avatar image
    Former Member
    Nov 18, 2016 at 01:08 AM

    you can set two datasource use the same universe,one is banding to crosstable,one to chart.and then set filter to datasource you want.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 18, 2016 at 01:42 PM

    Hi Chandra Sekhar,

    For your requirement, you can do data selection in chart rather than filtering and show the crosstab without filtering.

    Thanks,

    Poovarasan

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Poovarasan,

      As far as I know, the data selection option will only work for dimensions that are actually included in the data source Initial View. In Sekhar's example, the desired filter dimension, Year, is not included in the data source initial view, so I don't think the chart data selection option is applicable.

      Regards,

      Mustafa.

  • Nov 21, 2016 at 07:43 AM

    Hi,

    Yes the year object have to be in rows are columns to use it in data selection.

    But we can customize the crosstab using css to show only result of year right. Sorry if i confused you in my previous answer I have added my complete answer with screen shot

    We can have initial view of data as in above image.

    Then we can hide the columns not needed in crosstab and use data selection in chart.

    The CSS i used to hide columns in my crosstad is

    .sapzencrosstab-DataArea tbody tr td:NTH-CHILD(1), .sapzencrosstab-DataArea tbody tr td:NTH-CHILD(2),

    .sapzencrosstab-DataArea tbody tr td:NTH-CHILD(3), .sapzencrosstab-DataArea tbody tr td:NTH-CHILD(4),

    .sapzencrosstab-DataArea tbody tr td:NTH-CHILD(5), .sapzencrosstab-ColumnHeaderArea tbody tr td:NTH-CHILD(2),

    .sapzencrosstab-ColumnHeaderArea tbody tr td:NTH-CHILD(3), .sapzencrosstab-ColumnHeaderArea tbody tr td:NTH-CHILD(4), .sapzencrosstab-ColumnHeaderArea tbody tr td:NTH-CHILD(5), .sapzencrosstab-ColumnHeaderArea tbody tr td:NTH-CHILD(1)

    { display: none !important; }


    Let me know if anything need in it.

    Thanks,

    Poovarasan

    Add comment
    10|10000 characters needed characters exceeded