Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |