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! I'm trying to create a table in Power BI that shows all employees who are in their probation period, with the remaining number of days. For the sake of this example i have simplified the calculation that i'm doing: let's assume all employees have a probation period of 30 days after their employment date.
"Start dvb" = employment date
"Dagen resterend" = remaining days
Using the following DAX expression i created the remaining days column:
Solved! Go to Solution.
Hi @EnzoRRS
please try this measure
Measure1 =
DATEDIFF (
MIN ( 'dim Date Personeel'[DatesAfterToday] ),
SELECTEDVALUE ( 'dim Resource Personeel'[Employment Date] ),
DAY
) + 30
Hi @EnzoRRS
please try this measure
Measure1 =
DATEDIFF (
MIN ( 'dim Date Personeel'[DatesAfterToday] ),
SELECTEDVALUE ( 'dim Resource Personeel'[Employment Date] ),
DAY
) + 30
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 |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |