Hi All,
I am struggling with the formula below.
There are two columns in the Sharepoint list: "Data Collection", "Ranking" and "Calculate Ranking"
"Ranking" stores a number, and when it meets a specific condition, times 1, and the result will show in "Calculate Ranking"
So "Ranking" is a number field, and "Calculate Ranking" is a calculated field. The data type of both columns is "Number"
I want to add a text field in Power App that calculates the total "Calculate Ranking" of the user filling in the form.
Here is the formula:
Sum(Filter('Data Collection', 'Modified By'.Email = User().Email, 'Calculated Ranking'))
However, it is not working with the below warning:
Expected Number. We expect a number at this point in the formula.
It would be appreciated if you can solve this. Thanks a lot.
Hi @Quincy_Chan
Can you please, post the actual Code and where the error is.
Also, doing things on Calculated columns are usually a no no to make work properly.
For a just check... and it would prove what I'm telling you. Remove 'Calculated Ranking' and put Ranking, which you said is just a number.
See if the Sum error goes away. As thats where I assume the error is.
If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others
Cheers
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey
WarrenBelz
48
Most Valuable Professional
mmbr1606
41
Super User 2025 Season 1
MS.Ragavendar
36