Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a yearly target that I distribute into a monthly cumulative target. I'm using a matrix that resets once a year, and just uses Jan-Dec as columns. Currently looks like this
The code is this:
MonthlySalesTargetEven = (sum(Salesjoin[Forecast2022])/12)* max(MonthIndexOrder[Index])
The Forecast2022 table just assigns lump yearly numbers to associates. This is MonthIndexOrder:
However, this code currently assigns all of the current month target (as of right now, September) as soon as there is data for the month, but obviously the actuals are coming in daily, so there's a huge gap until the end of the month.
How do I get the monthly targets to distribute as above, with the current month's value prorated based on what day of of the month it is?
Create a table with a day-granularity instead of month and distribute the values across days. If you then mark your days with a column that tells you which day is in the past (+present) and which is in the future, you'll be able to slice by this "timeslice" and you'll get what you want for the very latest month.
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 |
---|---|
11 | |
11 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
12 | |
11 | |
11 | |
11 |