Newbie PQ question

Rovex

New Member
Joined
Jul 17, 2024
Messages
2
Office Version
  1. 365
  2. 2021
  3. 2019
Platform
  1. Windows
Hi, Apologies in advance if this is a bit on the basic side as I'm still trying to figure PQ out!!

I've been given a table of data with FTE amounts for a load of people per month. I have unpivoted it to get it into the format shown below

1721209850867.png


I need to build a chart showing the totals starting per month

1721209884502.png


I've tried putting in a measure using RankX and Filter and Earlier which I found online but couldn't get it to work. Any ideas Excel gurus??

Regards,

Tony
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Try the following DAX measure:
Power Query:
FTE Starting:=VAR CurrentDate = MIN('Calendar'[Date])
VAR CurrentStaff = VALUES(Data[PID])
VAR PrevStaff = CALCULATETABLE(
    VALUES(Data[PID]),
    ALL('Calendar'[Date]),
    'Calendar'[Date]<CurrentDate
    )
VAR NewStaff = EXCEPT(
    CurrentStaff,
    PrevStaff
    )

RETURN
    COUNTROWS(NewStaff)
Adjust the table names to match the tables in your data model.
 
Upvote 0
in PQ group by the month column and sum the FTE column
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top