web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Using ER (Electronic Reporting) I would like to change the filter to find records that CONTAINS a value

(0) ShareShare
ReportReport
Posted on by 255

I have an ER Report that is working fine with the following filter on a record

Filter(TableRecords.DirPartyLocation,TableRecords.DirPartyLocation.PostalAddressRoles="Remit to")

but I need to change the filter to show the record that contains the value "Remit to" and not where it is = (Equal)

I have tried the following but it returns an error 

Filter(TableRecords.DirPartyLocation, Contains(TableRecords.DirPartyLocation.PostalAddressRoles,"Remit to"))

I have the same question (0)
  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,839 Super User 2026 Season 1 on at

    Hi Sophs.

    Please try to use Where function instead of Filter.

  • Sophs@4Sight Profile Picture
    255 on at

    Good day Alireza

    On the report it is working fine with the following filter on a record

    Filter(TableRecords.DirPartyLocation,TableRecords.DirPartyLocation.PostalAddressRoles="Remit to")

    but I need to change the filter to show the record that contains the value "Remit to" and not where it is = (Equal)

    I have tried the following, but it returns an error. 

    Filter(TableRecords.DirPartyLocation, Contains(TableRecords.DirPartyLocation.PostalAddressRoles,"Remit to"))

    also tried: 

    WHERE(TableRecords.DirPartyLocation,(CONTAINS(TableRecords.DirPartyLocation.PostalAddressRoles,"Remit to"))) 

    this query does not give a validation error on the formula designer but gives an error at runtime: "Filtering is not supported. Validate the configuration to get more details about this".

    Thank you.

  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,839 Super User 2026 Season 1 on at

    Hi Sophs,

    Can you elaborate that why you need to use contain function?

    Can you fulfil this with and/or function also?

  • Sophs@4Sight Profile Picture
    255 on at

    Hi Alireza

    Our ER report needs to print two different addresses on the report. 

    The first address selects from the customer addresses where the Purpose = 'Invoice' and the second address selects from the customer addresses where the Purpose = 'Remit to'

    The problem is if we use Filter with = 'Invoice'.  The purpose field can have multiple Purposes.  So the field's value for Purpose contains 'Business;Invoice;Remit to'.  If I try to find records where it is = 'Invoice' it wont find the address.  I need to find where Purpose contains 'Invoice'.

    Thank you

  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,839 Super User 2026 Season 1 on at

    Hi Sophs@4Sight,

    I dont think that you use contain function for LogisticsLocationRoleType Enum type.

    You can try with OR function to check it helps:

    WHERE(Tables.DirPartyLocation

    , OR(Tables.DirPartyLocationT.PostalAddressRoles="Invoice", Tables.DirPartyLocationT.PostalAddressRoles="RemitTo"))

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 521 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 438

#3
Adis Profile Picture

Adis 261 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans