cancel
Showing results for 
Search instead for 
Did you mean: 

fetch selected Filter values and display on a widget

amritbhgt
8 - Cloud Apps
8 - Cloud Apps

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.

1 ACCEPTED SOLUTION

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": []
}

 

Benji_PaldiTeam_0-1704864215725.png

 

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

 

View solution in original post

4 REPLIES 4

Benji_PaldiTeam
11 - Data Pipeline
11 - Data Pipeline

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.

Benji_PaldiTeam_0-1704795298954.gif

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

 

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

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": []
}

 

Benji_PaldiTeam_0-1704864215725.png

 

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

 

mirliro
7 - Data Storage
7 - Data Storage

Thanks for sharing this best stuff with us! Keep sharing! I am new to blog writing on devops course in hyderabad  All types of blogs and posts are helpful for the readers.