Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Boolean Filter not working on offline collection (Powerapps)

(0) ShareShare
ReportReport
Posted on by

Hi,

I am storing online entity data in collection for offline use using SaveData and using it by using LoadData function. When I use any Boolean filter it gives me 0 records, but for other filters like status (Option Set), Lookup it is working as expected. Same filter works on same collection when I am online or online till first screen as on start online data is getting collected in collection. Also checked following thing:

1. Row counts for offline data is matching

2. Changing filter syntax like using = true, =Boolean(1) etc.

//Saving data on app start.

ClearCollect(
colAllMyItems,
My Items'
);

SaveData(colAllMyItems, /colAllMyItems/ );

 

//Loading data while offline

LoadData(colAllMyItems, /colAllMyItems/, true);

 

//Filtering Collection offline

ClearCollect(
  colAllMyItems,
  Filter(
  colAllMyItems,
  Contact.Contact = gblDeceased.Contact,
  Returned = false,
  'To be returned?'
  )
);

 

Could anyone help me with this?

  • Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Boolean Filter not working on offline collection (Powerapps)
    Hi Partner,
     
    The Dynamics Community Forums are for Dynamics 365 CRM applications, all built on Modern Driven App.
    You are using the Power Apps application and should post your question in the following forum for further assistance.

     

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,904 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,605 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans