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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / t.slice is not a function
Power Apps
Unanswered

t.slice is not a function

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I've been getting this error today when opening my app in edit mode. It's a pop-up on load and means i can't edit any of my canvases and have to close the app and restore to a previous version.

 

Earlier today i removed all the records from the data source which was populating a pie chart on my home screen which i assumed is what cuased the error. So in the background i added a couple of records and it worked fine originally, but since closing the app and re-opening it, the error is still coming back now.

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Check if any formulas in this app includes the "t.slice" like the error says? You can also locate the error in App checker feature, by selecting below icon on the upper right corner here:

    Capture.JPG

     

    You can take a screenshot of the errors/warnings shown here.

     

    Regards,

    Mona

  • tahoon Profile Picture
    Microsoft Employee on at

    This is a known issue with the pie chart which has been fixed. Can you try editing the app again and check if the same problem exists?

  • satya2 Profile Picture
    4 on at

    Hi Tahoon,
    This issue is not fixed yet. I'm unable to open in edit mode as i've a piechart in my home screen. could you please help me with this.

  • tahoon Profile Picture
    Microsoft Employee on at

    The fix for the original issue was released a few months ago. There should not be any problems opening an existing app with a pie chart. Clear your browser cache, use private browsing mode, or use a different browser to ensure you have the latest version of Studio.

     

    If the issue persists, please provide more information about what went wrong, like a screenshot or details about how your app is configured.

  • satya2 Profile Picture
    4 on at

    Hi Tahoon,

    I'm opening this in incognito mode. I can't see any of my screens.
    I'm attaching the screenshots and App ID details. I'm unable to click on the file section to share the configuration.
    Could you please look into this as this not allowing to work on the app.

    App details.JPG
    Error.JPG
  • tahoon Profile Picture
    Microsoft Employee on at

    This is likely because Legend.Items is set to an invalid value. Studio should not crash though, not sure why it does.

     

    If you remember what data source the chart is connected to, you can try to break that connection so that you can open the app and remove the offending chart. Ways to break that connection include: not allowing access to that data source when prompted, deleting the connection from web.powerapps.com, or switching off network access when the app is fetching data for that connection.

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 834

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard