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 / Line Chart referencing...
Power Apps
Answered

Line Chart referencing Gallery AllItems property broken

(0) ShareShare
ReportReport
Posted on by

I have a line chart in my app which was previously working fine, but now appears to be broken. 

 

When opening the app in Edit mode, the chart initially appears to be working, but then on changing any of the Series under the Items property an error is generated.

 

The chart's Series 1-3 should take their values from labels in a Gallery used to calculate running totals as shown below:

IMG_20240221_173201.jpg

The series 1-3 in the image above correspond to the values of label controls in the gallery as shown below:

IMG_20240221_173222.jpg

However, on attempting to change one of the series properties, the gallery controls no longer appear as options in the dropdown:

IMG_20240221_173232.jpg

Then, on selecting another option for the series, the error message "Expected a different collection record structure" appears against the line chart's Items property:

IMG_20240221_173243.jpgThe chart has previously been working (and modified) with no issues over the course of the past 18 months until now.  This makes me think this could this be a recently introduced bug in PowerApps studio - or am I missing something obvious?

Categories:
  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @wannabe_dev ,

     

    What changes were made to the structure of the Cumulative_ToT column? This is probably key to getting this resolved. 

     

  • Verified answer
    wannabe_dev Profile Picture
    on at

    Hi @BCBuizer . Thanks for the reply. No changes have been made to the Cumulative_ToT column (or the other columns derived from the gallery labels) that I can think of.

     

    I have managed to find a workaround by creating another gallery with the items property set to:

    AddColumns(GalRunningTotals_2.AllItems,"Cumulative ToT",Value("Cumulative ToT".Text)... )

    Setting the Items property of the line chart to this new galleries AllItems property allows it to pull data from the added columns. Probably not the most elegant solution, but it wast the quickest fix I could come up with.

  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @wannabe_dev ,

     

    Can you please share the Text property of the Cumulative ToT label control inside the gallery.

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!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard