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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Line Chart referencing...
Power Apps
Unanswered

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:
I have the same question (0)
  • BCBuizer Profile Picture
    22,505 Super User 2025 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,505 Super User 2025 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard