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.
Hi everyone,
My objective is to calculate the Turnover Rate and for this measure to update when I select a specific region.
I have set up the following formulas:
(1) This measure give me the number of active employee at any time. I have selected FY to display my data.
Employee Count =
VAR MaxDate = MAX('Calendar'[Date])
VAR EMPCOUNT =
CALCULATE(COUNTROWS(CALCULATETABLE(Drivers, Drivers[StartDate] <= MaxDate, ALL ('Calendar'[Date]))),
(ISBLANK(Drivers[FinishDate])|| Drivers[FinishDate] > MaxDate))
RETURN IF(ISBLANK(EMPCOUNT), 0, EMPCOUNT)
(2) This measure allows me to obtain the employee count 12 month before today
I In addition to that, if I apply the filter region to the visual itself, it will update accordingly.
However, if I click on the region from the map visual, the metric doesnt update. Any idea?
hi @corange
If possible could you please share a simple sample pbix file for us have a test, it will be great help.
Please see this post regarding How to Get Your Question Answered Quickly:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Regards,
Lin
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 |
---|---|
112 | |
97 | |
85 | |
68 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |