Forum Discussion

aansellcompass's avatar
aansellcompass
Regular Visitor
6 years ago

Embedding with Pre Applied Filters: Error Filters Property is Invalid

I have had embedded reports using the PBI Javascript API working for years now. All of a sudden, I am getting an "Uncaught Error" in the browser console saying "Filter property is invalid". I have tried work arounds (like applying filters after report is rendered) but without success. 

1 Reply

  • biremedia's avatar
    biremedia
    Frequent Visitor

    Incurring in the same problem. Since few days we're getting the same error on the console.

    Anyone has any idea if the power bi API has had any updates/modifications?

    my filter obj:

    'filters': [
    {
    '$schema': 'http://powerbi.com/product/schema#basic',
    'target': {
    "table": 'Facility',
    'column': 'FacilityId'
    },
    'operator': 'In',
    'values': [4]
    }
    ]

     

    Without filters it works.