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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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?

I have the same question (0)
  • Dengliang Li Profile Picture
    Microsoft Employee on at
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 47 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
Pallavi Phade Profile Picture

Pallavi Phade 32

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans