Forum Discussion
Citah
4 years agoRegular Visitor
Power bi Power Query
i have been using this formular =[Headcount] / List.Sum("Changed Type"[Headcount]) to calculate my percentages in the old version of power bi but after updating power bi to the latest version, i ge...
Citah
4 years agoRegular Visitor
Thank you but the problem is still there
This is the code requested i believe;
= Table.AddColumn(Source, "Custom", each [QuestionTwoStars] / List.Sum(#"Changed Type"[QuestionTwoStars]))
v-kkf-msft
4 years agoCommunity Support
Hi Citah ,
Maybe you can try these code.
= Table.AddColumn(Source, "Custom", each [QuestionTwoStars] / List.Sum(Source[QuestionTwoStars]))
Or
= Table.AddColumn(#"Changed Type", "Custom", each [QuestionTwoStars] / List.Sum(#"Changed Type"[QuestionTwoStars]))
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.