Forum Discussion

amritbhgt's avatar
amritbhgt
Cloud Apps
01-08-2024
Solved

fetch selected Filter values and display on a widget

Hi All,

Need Help!!!

I have 4 filters in the dashboard,

I want the values of all the selected filters to be displayed in a widget, if nothing or all is selected it should not show up there.

  • To create Blox widget for this use case:

    Add dimensions to the blox widget (same dimensions used in filters)  and use below Blox script:

    {
        "style": "",
        "script": "",
        "title": "",
        "showCarousel": false,
        "body": [
            {
                "type": "Container",
                "items": [
                    {
                        "type": "TextBlock",
                        "text": "{panel: Condition}",
                        "style": {
                            "text-align": "left",
                            "font-size": "14px",
                            "margin": "5px"
                        }
                    }
                ]
            }
        ],
        "actions": []
    }

     

     

    Feel free to reach out if you have further questions, we're always happy to help 

    [email protected] 
    Paldi Solutions, Number #1 Sisense Plugins Developer

     

4 Replies

Replies have been turned off for this discussion
  • Hi amritbhgt ,

    Several approaches can be used to address your requirement:

    1. Use Paldi's FREE Advanced Text Widget:

    Paldi's Advanced Text Widget is a valuable solution for this scenario. This free plugin allows you to incorporate values from various dimensions and even include descriptions or images to provide additional context for users. For a demonstration, you can refer to the plugin's demo video available at: https://www.youtube.com/watch?v=8JD6QGCYHx8

    https://www.paldi.solutions/plugins/advanced-text-widget 

    2. Utilize the Blox widget:

    The Blox widget can be employed to showcase the selected filters. It's important to note that if you select all items from a filter, it will display all items accordingly.

    3. Explore the Smartlabel Community Plugin:

    Another option is to explore the Smartlabel community plugin, which offers functionality for handling and displaying selected filters in your dashboard.

     

    Feel free to reach out if you have further questions, we're always happy to help 🙂
    [email protected] 
    Paldi Solutions, Number #1 Sisense Plugins Developer

     

    • amritbhgt's avatar
      amritbhgt
      Cloud Apps

      can you please provide code for option 2(using blox widget) 

      • Benji_PaldiTeam's avatar
        Benji_PaldiTeam
        Data Pipeline

        To create Blox widget for this use case:

        Add dimensions to the blox widget (same dimensions used in filters)  and use below Blox script:

        {
            "style": "",
            "script": "",
            "title": "",
            "showCarousel": false,
            "body": [
                {
                    "type": "Container",
                    "items": [
                        {
                            "type": "TextBlock",
                            "text": "{panel: Condition}",
                            "style": {
                                "text-align": "left",
                                "font-size": "14px",
                                "margin": "5px"
                            }
                        }
                    ]
                }
            ],
            "actions": []
        }

         

         

        Feel free to reach out if you have further questions, we're always happy to help 

        [email protected] 
        Paldi Solutions, Number #1 Sisense Plugins Developer