Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
hobbykitjr
New Member

Apply a basic filter

Can't seem to get a basic filter to work on itself. Tried a bunch of different ways but nothing ever happens.. this is the most basic example i can think of. Appreciate any help

 
capabilities:

 

 

 "objects": {
        "general": {
            "displayName": "General",
            "properties": {
                "filter": {
                    "displayName": "filter",
                    "type": {
                        "filter": true
                    }
                }
            }
        }

public update(options: VisualUpdateOptions) {
...

        let basicFilter = {
            target: {
                column: "Title"
            },
            operator: "Contains", //In
            value: "CMDB Quality"
        }
    self.visualHost.applyJsonFilter(basicFilter, "general", "filter", FilterAction.merge);
}

 

 

 

 

the title i'm trying to filter

 

 

 

         "displayName": "Title",
            "name": "title",
            "kind": "Grouping"
        },

 

 

 

 

0 REPLIES 0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.