cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

ClearCollect OR SharePoint LIST NOT REFRESHING! PLEASE HELP ME

Hi all

 

PLEASE help me with this query, as I have been facing issues with the SharePoint List volumes and with my collection and sharepoint list not refreshing on power, I'm going crazy. 

 

What happened?

1. My SharePoint list reached 5K records, so I moved the items to a backup sharepoint. Right now my list has less than 200 rows. 

2. Last 2 days, my list doesn't show items after 28 Sep 2023. I have 10 more records submitted and they dont show!

 

My App On Start Formula now:

 

 

 

Set(CurrUser, Office365Users.MyProfile());
ClearCollect(TeamNewColl, 'Team Workflow');
ClearCollect(ACApproversCollection, 'AC Approvers');
Set(varCurrentTab,"All Appeals")

 

 

 

My App on Start Formula before everything stopped at 28 Sep 2023. Here I created a Numerical ID filter column to capture IDs due to excess volumes. 

 

 

 

Set(CurrUser, Office365Users.MyProfile());
ClearCollect(TeamColl,Filter('Team Workflow', 'ID Filter' <= 9000), Filter('Team Workflow', 'ID Filter' >9000 And 'ID Filter'<=10000), Filter('Team Workflow', 'ID Filter' >10000 And 'ID Filter' <=12000));
ClearCollect(ACApproversCollection, 'AC Approvers');
Set(varCurrentTab,"All Appeals")

 

 

 

Note on ID: The latest one has an ID of 7995 assigned. Not sure if this info helps.

 

My Gallery View Formula where data stops at 28 Sep 2023.

 

 

 

SortByColumns
(Filter(TeamColl,
Switch(varCurrentTab,"Appeals Due in 7 Days",'Due Date'>=Today() And 'Due Date'<=DateAdd(Today(),7,TimeUnit.Days)
&&('Appeal Status'.Value="Review In Progress"|| 'Appeal Status'.Value="Unassigned" ||'Appeal Status'.Value="More Info Required"),
"Overdue Appeals",'Due Date'<Today()
&&('Appeal Status'.Value="Unassigned" || 'Appeal Status'.Value="Review In Progress" ||'Appeal Status'.Value="More Info Required"),"All Appeals",
1=1,"My Appeals",
'Created By'.Email=CurrUser.Mail,"Default",1=1)
&&StartsWith(MID,SearchTitle.Text)
&&('Appeal Status'.Value=RadioStatus.Selected.Value||
RadioStatus.Selected.Value=Blank())
&&('Appeal Reason'.Value=ComboBoxStatus.Selected.Value||
ComboBoxStatus.Selected.Value=Blank())
&&((ChckMe_1.Value&&'Council Reviewer'.Email=User().Email)||(ChckMe_1.Value= false &&chckother_2.Value= false )||(chckother_2.Value&&'Created By'.Email=cbUser_2.Selected.Email))),
"Created",
SortOrder.Descending)

 

 

1. I tried refreshing source data

2. I tried adding a new refresh button with Refresh( 'Team Workflow')

 

Nothing works.

 

I'll be grateful if you cvan please help mw refresh my Sharepoint List or Coll after 28 Sep 2023. This issue keeps happening every now and then.

 

Many thanks

 

 

10 REPLIES 10
WarrenBelz
Most Valuable Professional
Most Valuable Professional

Hi @ramyara ,

Sorry for the slight confusion, but you have 2 different collections - TeamCol where you are doing this

ClearCollect(
   TeamColl,
   Filter(
      'Team Workflow', 
      'ID Filter' <= 9000
   ), 
   Filter(
      'Team Workflow', 
      'ID Filter' > 9000 And 'ID Filter' <= 10000
   ), 
   Filter(
      'Team Workflow', 
      'ID Filter' > 10000 And 'ID Filter' <=12000
   )
);

and I assume you have less than 2,000 records with the 'ID Filter' under 9000. And now you have TeamNewCol

ClearCollect(
   TeamNewColl, 
   'Team Workflow'
);

where your list has less than 200 rows and you are missing some ? Assuming your Delegation limit is 2,000 and you can see your SharePoint list has the total rows you expect in Site Contents, have you tried re-indexing the list in SharePoint ?

Hi @WarrenBelz 

My apologies for the typo. There is just 1 collection 'TeamColl'

 

and I did try reindexing the list, still the data doesn't show records after 28 Sep 2023. 😞

WarrenBelz
Most Valuable Professional
Most Valuable Professional

Hi @ramyara ,

Are you referring to SharePoint or Power Apps you cannot see the data in ? If SharePoint, try clearing your browser cache.

Hi @WarrenBelz  I don't see the data flow from Sharepoint list to power app.

The data is working fine on sharepoint list. But after 28 Sep 2023, the new records haven't flowed to power apps.

 

I have tried making a clear collect column (as seen above) as data source

I have used Sharepoint list as direct data source, but both are not working.

 

I'm not able to figure what's wrong

 

Many thanks

Ramya

WarrenBelz
Most Valuable Professional
Most Valuable Professional

@ramyara ,

I mentioned that as there has been a recent issue with SharePoint not refreshing properly. Just to be totally clear: -

  • You have a SharePoint list Team Workflow' with less than 200 records.
  • You are running this 
    ClearCollect(TeamColl,'Team Workflow')
    and cannot see a number of recently created records in TeamColl

Hi @WarrenBelz  Yes that's correct

WarrenBelz
Most Valuable Professional
Most Valuable Professional

Hi @ramyara ,

OK - I just needed to know exactly what I was dealing with. It is actually the opposite of the issue I was referring to earlier where recent data was visible in Power Apps but not in SharePoint.

I am clutching at straws a bit here (as this sounds like a corruption in the SharePoint index), but have you indexed (in SharePoint) any fields involved in queries ?

If you have no other alternatives, you can always make a new list, export the data over and then disconnect the old list, reconnect the new one and use the search function to replace all references.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

MVP (Business Applications)   Visit my blog Practical Power Apps

Hi @WarrenBelz  Ill try this and come back with an update. thank you

Hi @WarrenBelz 

 

The issue was with my CearCollect Formula. It was wrong. I had increase the filter in increments of 2000 records. It worked well after that 🙂

ClearCollect(
   TeamColl,
   Filter(
      'Team Workflow', 
      'ID Filter' <= 1999
   ), 
   Filter(
      'Team Workflow', 
      'ID Filter' > 1999 And 'ID Filter' <= 3999
   ), 
   Filter(
      'Team Workflow', 
      'ID Filter' > 3999 And 'ID Filter' <=5999
   )
);

Thank you for your immediate responses as always 🙂

 

Cheers

 

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!   This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions in the Forums to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersNumber of SolutionsSuper UsersNumber of Solutions @anandm08  23 @WarrenBelz  31 @DBO_DV  10 @Amik  19 AmínAA 6 @mmbr1606  12 @rzuber  4 @happyume  7 @Giraldoj  3@ANB 6 (tie)   @SpongYe  6 (tie)     Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersSolutionsSuper UsersSolutions @anandm08  10@WarrenBelz 25 @DBO_DV  6@mmbr1606 14 @AmínAA 4 @Amik  12 @royg  3 @ANB  10 @AllanDeCastro  2 @SunilPashikanti  5 @Michaelfp  2 @FLMike  5 @eduardo_izzo  2   Meekou 2   @rzuber  2   @Velegandla  2     @PowerPlatform-P  2   @Micaiah  2     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 3:Community MembersSolutionsSuper UsersSolutionsPower Apps anandm0861WarrenBelz86DBO_DV25Amik66Michaelfp13mmbr160647Giraldoj13FLMike31AmínAA13SpongYe27     Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 4:Community MembersSolutionsSuper UsersSolutionsPower Apps DBO-DV21WarranBelz26Giraldoj7mmbr160618Muzammmil_0695067Amik14samfawzi_acml6FLMike12tzuber6ANB8   SunilPashikanti8

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (1,028)