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, ...
Unanswered

Filter on Grid does not work

(1) ShareShare
ReportReport
Posted on by 627
Hi 
 
I created a filter (dropdown) on a custom form. This is realted to a custom enum I created. 
 
In the first version I had 4 enum values(0, 1, 2, 3)  I filter with. Everything works fine. Now I had to add a 5th value to the enum. I add the enumvalue (4) and I do have some records in the table (they are showing the filtervalue when filter is disabled. As soon as I enable the filter (by checkbox) I cann filter the first 4 values but on the new, 5th value the grid is empty
 
What could be the reason?
 
Best regards
Chris
  • Mohamed Amine Mahmoudi Profile Picture
    26,826 Super User 2026 Season 1 on at
    Hi @CRSW,
     
    Can you please share with us more details (screenshots, code, design ...).
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • CRSW Profile Picture
    627 on at
    New Status visible if not filtered
     
    one of the first 4 filtervalues and active filter...WORKS
     
     
    filter with new enum value, EMPTY GRID even with data in table as seen on unfiltered screenshot  (1)
     
    Here the filter code:
     
    qbrDayEndStatus   = Query.dataSourceNo(1).addRange(fieldnum(WABCashDayEndHead, DayEndStatus));
    if (FilterActive.value() == NoYes::Yes)
    {
        FilterDayEndStatus.allowEdit(true);
        qbrDayEndStatus.value(queryValue(FilterDayEndStatus.selection())));
     
     
  • André Arnaud de Calavon Profile Picture
    307,445 Super User 2026 Season 2 on at
    Hi Chris,

    After making the change with the fifth element, did you also create a new CIL and synchronize the database? Have you checked if the value in the database itself is "4" for "Keine" or does it have another enumeration value? 
  • CRSW Profile Picture
    627 on at
    Hi Arnaud
     
    As mentioned in my first post the values in the DB are there
     
    Best regards
    Chris
  • Martin Dráb Profile Picture
    240,972 Most Valuable Professional on at
    Please check the query currently used by the data source (at Query tab of Personalization form).
  • CRSW Profile Picture
    627 on at
    @Martin
     
    Here it it. Looks good to me


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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 555 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 484 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 378

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans