Showing results for 
Search instead for 
Did you mean: 
Level 8

Create collection from filter without tables as the result

Is there a way to create a collection from a filter (on a sharepoint list) that doesn't end up with the collection containing tables? I have this:


ClearCollect(ChartTest, Filter( 'TestList', StudentId = Student.StudentId ))


which creates a collection where each column from TestList is a table. e.g. Student.Grade1 will have multiple entries in the Sharepoint list. This means the chart won't use the ChartTest collection as it expects numbers rather than tables:


"The property expects Number values, but this rule produces incompatible Table values"


and I can't seem to tell it to use ChartTest.Grade1.Value for the Y axis. What I need is the tables from the filter turned into a collection the line chart can read.






Helpful resources


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 407 members 4,440 guests
Please welcome our newest community members: