cancel
Showing results for
Did you mean:
Helper III

## PowerBI- Run calculation from the total and generate a the % for a new column

Good day,

I am trying to calculate the data for a column of data in PowerBI:

Below shows the sum of the items filtered (or sliced) for a date range. I would like to take the chks per row divide it by the sum and show in the %ofHch column.

eg: (237/88k)*100 =0.27%

1 ACCEPTED SOLUTION

Accepted Solutions
Super User

try this measure

%ofHch = SUM(yourTable[chks]) / (CALCULATE(SUM(yourTable([chks]), ALL()))

hey there if you liked the post give it a thumbs up, and if it solved your question please accept it as a solution.
Super User

try this measure

%ofHch = SUM(yourTable[chks]) / (CALCULATE(SUM(yourTable([chks]), ALL()))

hey there if you liked the post give it a thumbs up, and if it solved your question please accept it as a solution.

Announcements

#### Announcing Power Apps Copilot Cookbook Gallery

We are excited to share that the all-new Copilot Cookbook Gallery for Power Apps is now available in the Power Apps Community, full of tips and tricks on how to best use Microsoft Copilot as you develop and create in Power Apps. The new Copilot Cookbook is your go-to resource when you need inspiration--or when you're stuck--and aren't sure how to best partner with Copilot while creating apps.   Whether you're looking for the best prompts or just want to know about responsible AI use, visit Copilot Cookbook for regular updates you can rely on--while also serving up some of your greatest tips and tricks for the Community. Check Out the new Copilot Cookbook for Power Apps today: Copilot Cookbook - Power Platform Community.  We can't wait to see what you "cook" up!