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.
Hello this is only my 2nd time posting to the forum. I need assistance with some DAX measures so that I can determine Turnover % for an HR Power BI I have been tasked to complete.
I have managed to write the following measure to pull the amount of current employees:
OK , I SEE THIS FOR ALL DAYS , AND NO ONE ANSWER.
Creating only a measure is not a good idea for this case.
Creating another table would make it work.
Table22 = GENERATE('HR Date Range',GENERATESERIES(int('HR Date Range'[Hire_Date]),int('HR Date Range'[TermDate])-1))
It will have a new colnum "value", it is your date colnum.
your HC will be measure
HC=DISTINCTCOUNT(table22[StaffID])
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
23 | |
14 | |
14 | |
9 | |
7 |