Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

JavaScript sdk date time filter

I downloaded Power BI angular client sample ( and try to implement an advanced filter in the hosting application to filter my report by date time.


It didn't work. The server returns this error: Object {message: "Invalid filter definition"}


Below is the code segment for advanced filter:


    static predefinedFilter2 = new pbi.models.AdvancedFilter({
        table: "f_msANA_byRelease_transformed",
        column: "aaValuePeriodStartTime"
    }, "And",
            operator: "GreaterThan",
            value: "2016-06-01"

I tried to change the date time to different format but hit the same error.


Any suggestion is appreciated.


Helpful resources

Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!