I need to add a colomn Matrix that calculate the percentage (%) of UNITs "ON MOVE":
I almost got it, the problem is that it calculate it for all the columns.
How Can I Calculate the % of STATUS = ON MOVE by UNIT
I asume that it can be done using a measure, may be something like this: %OnMove= SUM(Inventory[STATUS1] = 'ON MOVE'/TOTAL by UNIT
I've been using PowerBI for less that 2 weeks, so please consider this in your response (asume I know nothing)
@ewill_bdg You can create a measure, such as Measure = DIVIDE([ON MOVE],[Total Sum of Available]) then convert it to a % format by clicking the measure in the Fields list then going to the Modeling tab in the top left.
I removed all columns from VALUES and left only STATUS (ON MOVE, AVAILABLE, DAMAGE, etc.),
and tried: %Avail = [ON MOVE]/[TOTAL]
SLA Not Met % = [SLA Not Met] / [Total]
but for some reason, I receive an ERROR, "ON MOVE" is not a column.
@ewill_bdgCreate a measure of the On Move Sum of Available.
Sum of On Move Available = SUMX(On Move, Sum of Available)
I can't tell what Table the Total Sum Available is in or if that is a table itself. You may need to provide more code there, but I think you will then need to do
Divide([Sum of On Move Available],[Total Sum of Available])
You can then filter it by unit within your report
Yes that helps me understand a little more.
You will do this Measure first. This should get the Sum of a Status. I am still a little confused on your fields so I just did a basic template. The table should be the table your status is in and column should be the status. The Table is what you called your data when you orignally loaded it into Power Bi. For example, the table is Sheet 1. The columns I have are Alphabet and Number. And the values are in Alphabet and Number. So if I wanted the Sum of letter a I would do
Sum of Letter = CALCULATE (
Sum of On Move Available = CALCULATE (
I think what you need to do next is create a second measure that finds the SUM of all avilable between all the different statuses.
This would be
CountValues = CALCULATE ( COUNT ( TableName ), TableName[ColumnName])
then you would do the divide.
Sum of % = DIVIDE([Sum of On Move Available],[Sum of All Available])
This would give you the % of only On Move. You could change up the first measure created per value.
I hope this helps!
Find your favorite faces from the community presenting at the Power Platform Community Conference!
See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.
Join this community-driven Power Platform digital event for unbiased support and problem-solving.