Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have this table , what i need to do to get new hire turn over for each month , the formula is : ( Seperated employees within 6 months / number of new hires within 6 months ) for seperated is good and comes calculated from the source for each raw but for new hires not calculated so i need to calculate it for each raw lined with seperated to be able to divide them so for example for Aug we have 1 seperated and should sum of 2+6+0+5+1+3 last 6 month including Aug sor new hiire should be 17 and turnover new hir will be : 1 / 17
Last 6 Months Sum Divide =
VAR SelectedDate = MAX('YourTable'[Date]) // Get the selected date - Here you can get the current date or selected from slicer
VAR StartDate = EOMONTH(SelectedDate, -6) + 1 // Calculate the start date for the last 6 months
VAR EndDate = SelectedDate // The selected date is the end date
RETURN
CALCULATE(
DIVIDE( SUM('YourTable'[Column1] ), SUM( 'YourTable'[Column2]),0),
FILTER(
'YourTable',
'YourTable'[Date] >= StartDate && 'YourTable'[Date] <= EndDate
)
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
52 | |
27 | |
24 | |
13 | |
9 |
User | Count |
---|---|
74 | |
58 | |
47 | |
16 | |
12 |