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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Power BI Embedded- Filter with value null not working as expected.

We are working with Power BI embedded reports in our angular application. We are passing few filters from the client-side to the Power BI service and one such filter has the value "null" which is supposed to match with our DB value. This was working as expected and from the past few days, we are facing this issue. Currently, the data is not being filtered.

Below is our code to push filters and to embed the report.

 

const firstFilter: pbi.models.IBasicFilter = {
$schema: "http://powerbi.com/product/schema#basic",
target: {
table: TableName,
column: "column1"
},
operator: "In",
values: [value],
filterType: 1, // pbi.models.FilterType.BasicFilter
displaySettings: {
isLockedInViewMode: true,
displayName: "firstFilter"
}
};

const secondFilter: pbi.models.IBasicFilter = {
$schema: "http://powerbi.com/product/schema#basic",
target: {
table: TableName,
column: "column2"
},
operator: "In",
values: [value],
filterType: 1, // pbi.models.FilterType.BasicFilter
displaySettings: {
isLockedInViewMode: true,
displayName: "secondFilter"
}
};

//default for all reports
filters.push(firstFilter);
filters.push(secondFilter);

return <pbi.IEmbedConfiguration>{
type: 'report',
id: data.reportId,
tokenType: pbi.models.TokenType.Embed,
accessToken: data.embedToken,
embedUrl: environment.embedUrl,
filters: filters,
settings: {
filterPaneEnabled: false,
navContentPaneEnabled: true,
localeSettings: null,
layoutType: layoutType,
customLayout: {
displayOption: pbi.models.DisplayOption.FitToWidth
}

}
};
}

If anyone knows this issue or faced the same then kindly advise.

2 REPLIES 2
AntonioCoelho
Advocate I
Advocate I

We are also experiencing the same issue and when using the ‘is not (blank)’ and ‘is (blank)’.

ncdreamy
Regular Visitor

Facing the same issue. Need to pass null value in an array but doesn't work anymore. It was working till Friday.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.