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.
For the first data of the table, it should be calculated as 5,893,082 / 26,520,122.00 = 22.22% but the measure doesn't bring the QTD (Quarter-To-Date) amount to the denominator.
What is the suggested solution to calculate the sales percentages in the respective quarter? Is there a time-intelligence formula to calculate this? Is this related to the weighted average per category percentage?
Solved! Go to Solution.
Hi @GeorgeGokmen ,
Try this:
Portfolio2 % =
SUM ( Sheet1[Original Contract Amount] )
/ CALCULATE (
SUM ( Sheet1[Original Contract Amount] ),
ALLEXCEPT ( Sheet1, Sheet1[Award Date].[Year], Sheet1[Award Date].[Quarter] )
)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@GeorgeGokmen , You may have try like
[Orig. Contract Amt QTD]/Calculate([Orig. Contract Amt QTD],ALLEXCEPT(Date[QTR]))
Refer
https://community.powerbi.com/t5/Desktop/Percentage-of-subtotal/td-p/95390
Hi,
Assuming:
try this measure
=[Orig. Contract Amt]/Calculate([Orig. Contract Amt],ALL(Data[Column]))
Column is the name of the column which appear under Quarter in the the matrix hierarchy of your visual.
Hope this helps.
@Ashish_Mathur , thank you for your solution. Your solution worked for this calculation but now, when there is a different "column"/"category", the percentage is not being calculated by the overall sum amount in the denominator.
For example, the highlighted row has a contract value of 4,20M, and in that respective quarter (2010-Q3), the total amount is 4,51M, thus the D005 percentage should be 4.51M/4.20M = 92.96% to overall percentage. Is there a solution for these new categories? Thank you again.
Hi,
Share the link from where i can download your PBI file.
The PBI file is in this link: this link, and it's been cleaned up from the other measures and calculations. I couldn't replicate the sample visual from the basic excel spreadsheet in the Power BI.
Hi,
Everything appears alright to me in the bottom most table of Page 1.
Hi @GeorgeGokmen ,
Try this:
Portfolio2 % =
SUM ( Sheet1[Original Contract Amount] )
/ CALCULATE (
SUM ( Sheet1[Original Contract Amount] ),
ALLEXCEPT ( Sheet1, Sheet1[Award Date].[Year], Sheet1[Award Date].[Quarter] )
)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
75 | |
63 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
62 | |
59 | |
56 |