Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
13 | |
11 | |
8 |