Тёмный
No video :(

Power BI: HR Analytics - Employees as on Date - userelationship , crossfilter, Hired/Terminated 

Amit Chandak Learn Microsoft Fabric, Power BI, SQL
Подписаться 26 тыс.
Просмотров 10 тыс.
50% 1

Power BI: HR Analytics - Employees as on Date - userelationship, crossfilter
Role-Playing Dimension
Power BI for Advance User: • Expertise Power BI- Ho...
Power BI Tutorial Series for Beginners: • Power BI for Beginners...
Blog: community.powerbi.com/t5/Comm...
Source File:github.com/amitchandakpbi/pow...
Pbix File: github.com/amitchandakpbi/pow...
How to use userelationship to select a join when more than one column is joined with another table
~-~~-~~~-~~-~
Please watch: "Microsoft Power BI Tutorial For Beginners✨ | Power BI Full Course 2023 | Learn Power BI"
• Microsoft Power BI Tut...
~-~~-~~~-~~-~

Опубликовано:

 

1 сен 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 44   
@mohanjanakiram8235
@mohanjanakiram8235 2 года назад
Thank you Amit..!! Quick and precise..!
@AmitChandak
@AmitChandak 2 года назад
Thanks
@obazeeghosa
@obazeeghosa 3 года назад
Thanks for this very excellent video and the accompanying resources. Greatly appreciated.
@AmitChandak
@AmitChandak 3 года назад
Glad it was helpful!
@mudrasasidhar
@mudrasasidhar 7 месяцев назад
Fantastic !!!! Thank You!!!
@AmitChandak
@AmitChandak 7 месяцев назад
Glad you liked it! Thanks 🙏 Hope you will also like Power BI HR Active Employee Tenure Bucketing, and Hired, Terminated, and Active employees: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-fvgcx8QLqZU.html
@markdixon333
@markdixon333 Год назад
Really helpful Amit - straightforward explanations and easy to replicate, thank you for your help!
@AmitChandak
@AmitChandak Год назад
You are most welcome. Related blog - community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970 File link www.dropbox.com/s/excoqikgpyz5zvk/Current_employee.pbix?dl=0 Without using active join - www.dropbox.com/s/ixftnm99hg3wmu8/Current_employee_without%20Join.pbix?dl=0
@JimBuckleyBarrett
@JimBuckleyBarrett 4 месяца назад
Thank you! That worked!
@AmitChandak
@AmitChandak 4 месяца назад
Glad it helped! Thanks. Hope you will like the next one too: Power BI HR Active Employee Tenure Bucketing, and Hired, Terminated, and Active employees: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-fvgcx8QLqZU.html
@nikhilnikk5569
@nikhilnikk5569 Год назад
Easy to understand Thanks sir
@AmitChandak
@AmitChandak Год назад
Thanks and welcome
@hiteshdangodra6440
@hiteshdangodra6440 9 месяцев назад
Dear Amit, Thank you so much for this vedio. One help required desperately how to find current active employees growth from last date of previous year , your help make lots of love ❤
@AmitChandak
@AmitChandak 9 месяцев назад
Please try this measure Last Year Employee = var _min_date = minx(all('Date'),'Date'[Date]) var _Expression=maxx('Date',DATEADD('Date'[Date],-1,YEAR)) Return CALCULATE(COUNTx(FILTER(Employee,Employee[Start Date]=_min_date && (ISBLANK(Employee[End Date]) || Employee[End Date]>_Expression)),(Employee[Employee Id ])),CROSSFILTER(Employee[Start Date],'Date'[Date],None)) You can also refer Last Period Employee in the file www.dropbox.com/s/excoqikgpyz5zvk/Current_employee.pbix?dl=0
@shayshalev3287
@shayshalev3287 7 месяцев назад
excellent video! was looking for something like this for ages. trying now to implement it. I'm using the same method to calculate how many projects were active on each day. each project has start date and end date. several questions: do the relations from both end date and start date in the project table to the date field in the calendar should be inactive? if yes, this is impacting other visuals in my report. any workaround? second question - seems I can't use any other slicers on the report page (i have slicers for project region for example). I was hoping i could use this to show a number of concurrent projects for each region.
@AmitChandak
@AmitChandak 7 месяцев назад
Thanks. If you want to keep both dates inactive, please find the file link. Let me know if you need more information. You should be able to use other slicer joined with this table www.dropbox.com/s/ixftnm99hg3wmu8/Current_employee_without%20Join.pbix?dl=0
@lijunchen
@lijunchen Год назад
Bravo! Amit. This video is very helpful. This works well as point-in-time counts of active cases across time in my human service work. I have a question for you. Besides the active employee counts, can you create a measure to show the average and median tenure (from hire date until current period start or end, in days) of the active employees in any period. Also can you also create the average age of employees if we have their birthdates? And a measure like average salarys?
@AmitChandak
@AmitChandak Год назад
Glad it helped. Please check the another video on channel Power BI HR Active Employee Tenure Bucketing, and Hired, Terminated, and Active employees: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-fvgcx8QLqZU.html Also check out Complete Power Bi Video with 100+ Topics: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-cN8AO3_vmlY.html Mastering Power BI Series: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-wvsAzTqSDVg.html Expertise Power BI Series: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-59PUFuuCrbY.html
@lijunchen
@lijunchen Год назад
@@AmitChandak Very helpful. Thanks a lot.
@christianmancini2017
@christianmancini2017 3 года назад
Hi Amit, Thanks for the help, this was simple a really helpfull. It works excellent! I have a question, when I click on the table and in "Terminations", it shows me the hiring names, not the terminated ones, is there a way to solve it? Another question, is there a way to calculate the attrition rate or turnover using this numbers? Thanks a lot again!
@AmitChandak
@AmitChandak 3 года назад
Are using drill through? the Terminations measure is possible because userelationship and not because of the join, we need make sure the table where we are looking for Termination's name is having Terminations as measure too
@user-op4bn5bj5k
@user-op4bn5bj5k Год назад
Hi, how do i include a measure that looks at All Employees per month. i.e Terms + Hires + Current employees
@AmitChandak
@AmitChandak Год назад
Current employee should consider all active including hire and terminations. Can you please elaborate. We can discuss more on LinkedIn - www.linkedin.com/in/amitchandak78/ Refer if this can help Power BI HR Active Employee Tenure Bucketing, and Hired, Terminated, and Active employees: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-fvgcx8QLqZU.html
@hopefarlow4978
@hopefarlow4978 9 месяцев назад
Thank you Amit! How would you show the current headcount of employees for each month if the employees were in different departments, such as Engineering, HR, Logistics, Supply Chain using a stacked Bar chart?
@AmitChandak
@AmitChandak 9 месяцев назад
I think the same measures should work. Unless one employee has more than one department. Please check the file, I added the department www.dropbox.com/scl/fi/y7q6ht9np1yb4cfbzzyj5/HR-With-Dept.pbix?rlkey=2en7z9zs2lxu7wqqsy3rn2q3k&dl=0
@fmsmz
@fmsmz 10 месяцев назад
I worked hard to get this video. For two weeks I have been trying to implement the same idea and failed. I will try it and give you the results.
@fmsmz
@fmsmz 10 месяцев назад
Its working finally, you are the best ever
@AmitChandak
@AmitChandak 10 месяцев назад
Hope you will like the newer version of this Power BI HR Active Employee Tenure Bucketing, and Hired, Terminated, and Active employees: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-fvgcx8QLqZU.html Hope you will likes these series too Mastering Power BI: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-wvsAzTqSDVg.html Expertise Power BI: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-59PUFuuCrbY.html Mastering Microsoft Fabric: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-p-v0I5S-ybs.html
@fmsmz
@fmsmz 10 месяцев назад
​@@AmitChandakThank you sir, I will continue to increase my experience through your channel
@aarondnice9018
@aarondnice9018 Год назад
Thanks for the great and easily explained video Amit. Just had one question, When I am replicating "Last Period Employee" measure, it is excluding count of employees who joined on that particular month. Where should I alter the dax to fix this? Thanks again!
@AmitChandak
@AmitChandak Год назад
Have you used formula in my file ? Last Period Employee = var _min_date = minx(all('Date'),'Date'[Date]) var _Expression=if(ISFILTERED('Date'[Month Year]),maxx('Date',ENDOFMONTH(DATEADD('Date'[Date],-1,MONTH))),maxx('Date',DATEADD('Date'[Date],-1,YEAR))) Return CALCULATE(COUNTx(FILTER(Employee,Employee[Start Date]=_min_date && (ISBLANK(Employee[End Date]) || Employee[End Date]>_Expression)),(Employee[Employee Id ])),CROSSFILTER(Employee[Start Date],'Date'[Date],None)) To me the number seem fine. If not please share a sample file My file link: www.dropbox.com/s/excoqikgpyz5zvk/Current_employee.pbix?dl=0
@yousifteedonmoye619
@yousifteedonmoye619 Год назад
Great video, please how do I add the “||“ or operator in power bi? What do I need to press on the keyboard to make it appear Coz tried everything it's not working at my computer
@AmitChandak
@AmitChandak Год назад
Press pipe sign twice on keyboard. You have or function too
@Datanox
@Datanox 3 года назад
Hi Amit, Thanks for sharing the knowledge. However, I have a question as to how to calculate hire & terminations for any period based on all position history of staff. The last start date & end date acting as his recent position. Also, if he's continuing employee, the end date would be blank.
@AmitChandak
@AmitChandak 3 года назад
Do you have more than one entry for an employee. Can share sample for source and output
@Datanox
@Datanox 3 года назад
@@AmitChandak Yes. More than one entry for employee representing historical agreement dates. The input table represents like this community.powerbi.com/t5/Desktop/Hiring-termination-Active-Headcount-based-on-historical-data/m-p/1889239#M725262
@jacques8290
@jacques8290 Год назад
@@Datanox did you work this out? I am having the same issue
@sridrigger
@sridrigger Год назад
This helped me a lot.. Thanks :) Any idea how to get cumulative exits for the same as above with exit and join dates
@AmitChandak
@AmitChandak Год назад
You already have Hired and Terminated employee. refer if needed community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970 Then you can have measure like Cumm Hired = CALCULATE([Hired Employee],filter(all('Date'),'Date'[date]
@AmitChandak
@AmitChandak Год назад
@@sridrigger Opening Headcount= CALCULATE(COUNTx(FILTER(f_Employees,f_Employees[EmpJoinDate]< Min(d_DateTable[Date]) && (ISBLANK(f_Employees[EmpLeavDate]) || f_Employees[EmpLeavDate]>=Min('d_DateTable'[Date]))), (f_Employees[EmplCode])),CROSSFILTER(f_Employees[EmpJoinDate],'d_DateTable'[Date],None)) Closing Headcount= CALCULATE(COUNTx(FILTER(f_Employees,f_Employees[EmpJoinDate]max('d_DateTable'[Date]))), (f_Employees[EmplCode])),CROSSFILTER(f_Employees[EmpJoinDate],'d_DateTable'[Date],None))
@sridrigger
@sridrigger Год назад
@@AmitChandak Sincere thanks Worked like a charm :) Was hung up with some miscalculations by 3 days
@sridrigger
@sridrigger Год назад
Sorry For the trouble Amith one Last help I have calculated the Annual Attrition by divide( exitcount, avg headcount) but i need the same as below Attrition * (12which is year count/Month number) which if its april 1, may 2 and so on based on fiscal calendar how can this be achieved Annualized Attrition
@sridrigger
@sridrigger Год назад
@@AmitChandak Any Help on Annual Attrition Calculation?
Далее
How to calculate EMPLOYEE RETENTION with DAX
24:03
Просмотров 6 тыс.
Total Number Of Staff Over Time - Power BI Insights
9:20
Configuring Incremental Refresh in Power BI
16:01
Просмотров 83 тыс.
Calculate OPEN CASES over time in Power BI | Part 1
7:42
How many employees by period?
13:43
Просмотров 1,9 тыс.
Power BI Bravo Complete Guide
28:07
Просмотров 1 тыс.
Power BI KPI Dashboard Project for HR Analytics
33:55