cancel
Showing results for
Did you mean:

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Regular Visitor

## Project Payroll Using a Specific Pay Period and Graph the Projections

Hello Friends,

I need help in projecting payroll for the next fiscal year starting in FY24 Oct ending FY24 Sep, which equates to 26 pay periods in a fiscal year.

The payroll data had just populated for pay period 09/09/2023 within specific funding buckets.  I have also built in a "what if analysis to hire at 98% which gives me 100 FTEs to hire against the authorized strength of 1170.

I wanted to measure on the graph against the actual payroll when we start the new fiscal year.

Every time I use the "FY23AVGSalarySEPASGN" formula:

FY23AVGSalarySEP(ASGN) =
CALCULATE(
DIVIDE(
SUMX(
FILTER(FY23Payroll,FY23Payroll[Pay Period End Date] =DATE(2023,09,09)),
FY23Payroll[AMOUNT PAID (DETAIL)]
),1)
*26/[FY23ASGN]

to multiply against the projected assigned strength of 100

Proj to Hire = CALCULATE(
[FY24 PROJ ASGN]-SUMX(
FILTER(FY23ORG,FY23ORG[Date] >= DATE(2023,08,01) &&
FY23ORG[Date] <= DATE(2023,08,01)
),
FY23ORG[ASGN]))

I'm not able to graph total.   Is there a better way to write the formula?

Community Support

Hi @mtruong71,

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Announcements

#### Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

#### Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

#### The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors