Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I would like to find the percent of the TonsDeliveredLate by Carrier Delay from the Total TonsReported.
Example: 2,430 tons of Carrier Related Delays / 70,580 Total Tons Reported
I created the following 'New Measure', but it's only finding percentages by the row. (Carrier Related TonsDeliveredLate/Carrier Related TonsReported) I need it to find a row percentage of a column total.
Percent = SUM(Shipments[TonsDeliveredLate])/SUM(Shipments[TonsReported])*100
Solved! Go to Solution.
Hi @KaitlynS4,
Did you filter the table visual? Then please use the formula to work on it.
Measure = CALCULATE(SUM(Table1[TonsDeliveredlate]))/CALCULATE(SUM(Table1[TonsReported]),ALLSELECTED(Table1))
If it doesn't meet your requirement either, kindly share your pbix to me.
Regards,
Frank
Hi @KaitlynS4,
Does that make sense? If so, kindly mark my answer as a solution to close the case.
Regards,
Frank
Hi @KaitlynS4,
One sample for your reference. Here we need to create a measure to work on it.
Measure = CALCULATE(SUM(Table1[TonsDeliveredlate]))/CALCULATE(SUM(Table1[TonsReported]),ALL(Table1))
Also please find the pbix as attached.
Regards,
Frank
My calculations still don't look right. For Carrier Related, the Measure should be 2,591/71,434 = .0362 *100 = 3.63. However, this calucation is coming up as 2.44
I just copied your measure for the calculations, so I'm not sure how it could be different?
Hi @KaitlynS4,
Did you filter the table visual? Then please use the formula to work on it.
Measure = CALCULATE(SUM(Table1[TonsDeliveredlate]))/CALCULATE(SUM(Table1[TonsReported]),ALLSELECTED(Table1))
If it doesn't meet your requirement either, kindly share your pbix to me.
Regards,
Frank
Hi @KaitlynS4,
Does that make sense? If so, kindly mark my answer as a solution to close the case.
Regards,
Frank
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
123 | |
78 | |
49 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |