The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to do yearly payroll projections on months that HAVE NOT occurred yet. For example in the graph below I have the following formula for Monthly Projection =
Monthly Projection =
CALCULATE(
AVERAGEX(
VALUES('Calendar'[Year]),
[Actuals:]
),
REMOVEFILTERS('Calendar'),
VALUES('Calendar'[Month])
)
What I want is something similar to this in excel =
How can I write a formula where this occurs, and I want the methodology be a rolling average based on the year. For example, through may 31st 10 pay periods would occur. I want the future months to be the average pay period *2.
Hi @Anonymous
can you please advise how did you calculate the yellow highlighted values?
Those are random numbers ideally it would be an average of the prior months i.e. average of all Aprils
Can you share some sample data?
User | Count |
---|---|
12 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
24 | |
14 | |
14 | |
9 | |
7 |