Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Solved! Go to Solution.
Hi @Anonymous ,
I have searched the web for some possible solutions, and here is what I found:
According to this article, the in clause is not supported by the SharePoint REST API, which is what you are using to get the data from the SharePoint site. The article suggests using the or operator instead, like this:
#“$filter” = “PL_ID eq ‘2308-08162’ or PL_ID eq ‘2308-08161’”
Alternatively, you can use Power Query parameters to filter the data based on a list of values, as explained in this article. You can create a parameter query that contains the values you want to filter by, and then use it in your main query. For example, you can create a parameter query called PL_ID_List with the following code:
PL_ID_List = {“2308-08162”,“2308-08161”}
Then, in your main query, you can use this parameter to filter the data, like this:
#“$filter” = “PL_ID eq '” & Text.Combine(PL_ID_List,“’ or PL_ID eq '”) & “'”
This will produce the same filter as the previous option, but with more flexibility and readability.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
I have searched the web for some possible solutions, and here is what I found:
According to this article, the in clause is not supported by the SharePoint REST API, which is what you are using to get the data from the SharePoint site. The article suggests using the or operator instead, like this:
#“$filter” = “PL_ID eq ‘2308-08162’ or PL_ID eq ‘2308-08161’”
Alternatively, you can use Power Query parameters to filter the data based on a list of values, as explained in this article. You can create a parameter query that contains the values you want to filter by, and then use it in your main query. For example, you can create a parameter query called PL_ID_List with the following code:
PL_ID_List = {“2308-08162”,“2308-08161”}
Then, in your main query, you can use this parameter to filter the data, like this:
#“$filter” = “PL_ID eq '” & Text.Combine(PL_ID_List,“’ or PL_ID eq '”) & “'”
This will produce the same filter as the previous option, but with more flexibility and readability.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Would you please consider moving this post involving API usage to the Microsoft Power BI Community Developer Forum, where they focus on the following: Custom visual creation, API usage, real-time dashboards, integrating with Power BI, content packs. Basically, everything about extending Power BI.
https://community.fabric.microsoft.com/t5/Developer/bd-p/Developer
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 4 |