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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

brackets in an OData URL

Hello,

 

I'm trying to get data from an oData URL.  There is a huge amount of data, so i want to filter on specific column in my request.

The problem is that my column name contain brackets "ShortcutDimCode[4]".

 

This is my url :

 

http://xxxxxxxxxx.com:7088/xxxxxxxxx/OData/DEVIS_ACHATSPurchLines?$filter= ShortcutDimCode[4] eq 'xxxx'

 

image of the error :

https://ibb.co/Q6njkYn 

 

Is it possible to filter with a column name that contain brackets ?

 

Thanks for your help

3 REPLIES 3
Anonymous
Not applicable

Up

dax
Community Support
Community Support

Hi @Anonymous , 

It seems that you have specific charater in column name, you could try to use x005B_Column_x005D to see wether it work or not. In addition, it seems that your value also have "[", "]", right? You could remove it or use above suggestions to see whether it work or not.

You could refer to Filter a report using query string parameters in the URL  for details.

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

DataSource.Error: Microsoft.Mashup.Engine1.Library.Resources.HttpResource: Request failed: 
OData Version: 3 and 4, Error: The remote server returned an error: (400) Bad Request. (Type 'NAV.DEVIS_ACHATSPurchLines' does not have a property 'ShortcutDimCode0x005B_4_0x005D'.)
OData Version: 4, Error: The remote server returned an error: (415) Unsupported Media Type. (Unsupported media type requested.)
OData Version: 3, Error: The remote server returned an error: (400) Bad Request. (Type 'NAV.DEVIS_ACHATSPurchLines' does not have a property 'ShortcutDimCode0x005B_4_0x005D'.)
Details:
    DataSourceKind=OData
    DataSourcePath=http://xxxxxxxxx.com:7088/xxxxxxx/OData/DEVIS_ACHATSPurchLines

 

column name : ShortcutDimCode[4]

value don't contain any special character

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.