Notifications
Announcements
Hi All,
I am trying to create a line graph based on input data defined in Power Apps. I am using the clear collect formula however the clear collect seems to be coming up blank (i.e. it is not recording the data). Would anyone know why this would be the case?
@skumar12 You have the ClearCollect in the OnSelect of the Line Chart. The OnSelect will fire only when the line in the Line Chart is clicked on. In your case there is no line! You will have to put your ClearCollect elsewhere.
In the following example you can see a thin line first and then it turns to a thick line when clicked.
Thank you for your reply!
But how do I ensure that the line graph is picking up on data defined in the boxes?
@skumar12
The easiest way would be to have a Button that says, "Refresh Graph" and put your clear collect in the OnSelect
How would I define my line graph? Would the items line be based on the clearcollect defined from the refresh button?
@skumar12 Well that depends on what you want to show in the graph. you can read about it here in the doc, https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/controls/control-column-line-chart
If you original query has been answered,
Please remember to give a 👍 and accept the solution as it will help others in the future.
Please post other queries as a separate message as this will help the community! Thanks!
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268