cancel
Showing results for 
Search instead for 
Did you mean: 

Create Filter in Analytics Card

ChristianSislak
Associate
Associate
0 Kudos
113

Hi all,

is it possible to add an filter to an analytics card, like an bullet chard or similar? If so, how can this be possible? 

ChristianSislak_0-1725977337704.png

if I add a selectionvariant like this: 

<!--Selection-->
                <Annotation Term="UI.SelectionVariant" Qualifier="SeatsSelection">
                    <Record>
                        <PropertyValue Property="SelectOptions">
                            <Collection>
                                <Record Type="UI.SelectOptionType">
                                    <PropertyValue Property="PropertyName" PropertyPath="SEATSMAX" />
                                    <PropertyValue Property="Ranges">
                                        <Collection >
                                            <Record Type="UI.SelectionRangeType">
                                                <PropertyValue Property="Sign" EnumMember="UI.SelectionRangeSignType/I"/>
                                                <PropertyValue Property="Option" EnumMember="UI.SelectionRangeOptionType/GE"/>
                                                <PropertyValue Property="Low" String="0"/>
                                            </Record>
                                        </Collection>
                                    </PropertyValue>
                                </Record>
                                <Record Type="UI.SelectOptionType">
                                    <PropertyValue Property="PropertyName" PropertyPath="SEATSMAX" />
                                    <PropertyValue Property="Ranges">
                                        <Collection >
                                            <Record Type="UI.SelectionRangeType">
                                                <PropertyValue Property="Sign" EnumMember="UI.SelectionRangeSignType/I"/>
                                                <PropertyValue Property="Option" EnumMember="UI.SelectionRangeOptionType/GE"/>
                                                <PropertyValue Property="Low" String="100"/>
                                            </Record>
                                        </Collection>
                                    </PropertyValue>
                                </Record>
                            </Collection>
                        </PropertyValue>
                    </Record>
                </Annotation>

And add it in the manifest.json

 "identificationAnnotationPath": "com.sap.vocabularies.UI.v1.Identification#BulletChartUIIdentifier",
          "dataPointAnnotationPath": "com.sap.vocabularies.UI.v1.DataPoint#BulletChartDateDataPoint",
          "presentationAnnotationPath": "com.sap.vocabularies.UI.v1.PresentationVariant#BulletChartPresentationVariant",
          "selectionAnnotationPath": "com.sap.vocabularies.UI.v1.SelectionVariant#SeatsSelection"  
        }

Nothing happens:

ChristianSislak_2-1725977463901.png

 

 

ChristianSislak
Associate
Associate
0 Kudos

Accepted Solutions (0)

Answers (0)