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!View all the Fabric Data Days sessions on demand. View schedule
Hello Everyone,
I have been spending some time searching the forums to try and see if I can figure out a solution to give me a culutative percentage by fiscal week. In my calculation, I am unable to identify all the weeks to be able to divide my cumulative terms.
To give a bit of context, in order to get an annualized terms %, I have to take ( total terms / current week ) * 52weeksinyear / Avg Head Count. In my calculation below, I've tried and was able to get a cumulative total for the terms and my cumulative avg head count. The issue I am running into, is my VAR for Current week is only able to identify the actual current week. I would like to be able to divide the [Terms Cumulative Total] week by week
I have uploaded a sample file for this
https://1drv.ms/u/s!AqID1H0nHPOzhBPUVCHQy_avV8-r?e=htQs8T
Solved! Go to Solution.
I have solved my own issue. Switching my variable in the forumla using selectedvalue for the fiscal week worked.
VAR FiscalWeek = SELECTEDVALUE('Calendar'[Fiscal Week]) worked to evaluate by each week week number in the table.
I have solved my own issue. Switching my variable in the forumla using selectedvalue for the fiscal week worked.
VAR FiscalWeek = SELECTEDVALUE('Calendar'[Fiscal Week]) worked to evaluate by each week week number in the table.
I basically have to figure out how to sum the average by DC and by Fiscal Week
I figured out a portion of this formula.
I changed my VAR week formula from
VAR CurrentWeek=MAXX(FILTER(ALL('Calendar'),[Date]=TODAY()),[Fiscal Week] -1)
to using selectedvalue in the fiscal calendar to let it iterated by each week number like this
Bump anyone?
Bumping this up. Any possible ideas on how to achieve this?
Hi, @romoguy15
Not very clear. Can you explain bit more?
Sample data and expected result will make it easier for us to understand and solve your problem.
Best Regards,
Community Support Team _ Eason
Hey @v-easonf-msft I have tried my best to upload a sample file with what I am trying to achieve with the calculation. I understand it can be quite compliacted to try and decipher what i'm trying to do. Basically my problem in my Percentage calculation is I don't know how to identify row by row the week number to divide it by in order to get a cumulative percentage total week by week
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 8 | |
| 5 | |
| 3 |
| User | Count |
|---|---|
| 28 | |
| 21 | |
| 20 | |
| 19 | |
| 12 |