Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 48064

Re: Passing Multiple Parameter filters in Power BI Embedded

$
0
0

Hi, I have used the method descirbed by you for filtering the report based on 2 columns from 2 different tables. However, combined these filterts not work whereas the separate filters work fine. Following is my code:

 

basicFilter = [

{
$schema: "http://powerbi.com/product/schema#basic",
target: {
table: "xyz",
column: "department_id"
},
operator: 'In',
values: [@ViewBag.DepartmentID]
},
{
$schema: "http://powerbi.com/product/schema#basic",
target: {
table: "abc",
column: "department_id"
},
operator: 'In',
values: [@ViewBag.DepartmentID]
}
]

 

If I only apply the filter for table xyz/abc, it works fine. It seems so that combining filters is an issue. Please help


Viewing all articles
Browse latest Browse all 48064

Trending Articles