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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Web API connection - Logical operator help

Hi all, 

 

I have a Web API connection set (CRM tool) set and i want to extend the data based on the value of 'Type' field.

The Type field contains 10 possible values. I want only 3 of them.

 

The source is configured as below :

...api/xml/Tickets?DateCreated=20190311000001&Type[contains]=Enhancement&pageSize=2000"

 

How can extend the data to be Type[contains]=Enhancement OR Type[contains]=Access OR Type[contains]=Defect

 

Thanks for your help

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for your help. The issue is fixed by adding '&' for each type.

View solution in original post

4 REPLIES 4
mahoneypat
Microsoft Employee
Microsoft Employee

Does it hurt performance/refresh too much to just bring it all in (remove the existing filter on Type) and filter in query?  If so, you'll have to look at the syntax for your API, but does it accept them provided in a comma separated list?

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Anonymous
Not applicable

Thanks for your answer. Yes it will impact the performance this is why i need to get only those values. 

Sorry i'm very new with this, where can I found the API syntax?

 

@Anonymous 

 

You may refer to the post below that invokes Custom Function in Query Editor.

http://community.powerbi.com/t5/Desktop/Create-tables-based-on-all-Query-Parameters/td-p/345947

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks for your help. The issue is fixed by adding '&' for each type.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.