Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Good morning,
I would like to calculate the % of Gran Total (per week) for the Intake. I tried to use the powerbi pre-filled calculation but it's not working when we have more than 1 week. So I would like to have a new column with the % of gran total (1% to 100%) for each week.
Anyone can please support? Thanks!!
Solved! Go to Solution.
Hi @actt ,
Based on your description, I have created a simple sample:
Please try:
GT% =
var _a = SUM(FactTable[Intake])
var _b = CALCULATE(SUM(FactTable[Intake]),ALLEXCEPT(DimDate,DimDate[Week]))
return DIVIDE(_a,_b)
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @actt ,
Based on your description, I have created a simple sample:
Please try:
GT% =
var _a = SUM(FactTable[Intake])
var _b = CALCULATE(SUM(FactTable[Intake]),ALLEXCEPT(DimDate,DimDate[Week]))
return DIVIDE(_a,_b)
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.