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.
Hello,
Can anyone correct the last line of my DAX formula?
var Work_Days =
CALCULATE(
DISTINCTCOUNT('July 2021'[Date]),
FILTER(
'July 2021',
'July 2021'[Time code] <> "PH"
&& WEEKDAY('July 2021'[Date],2) < 6
))
VAR WFW = SUMX(FILTER('July 2021','July 2021'[Project Name]="WFW"), 'July 2021'[Hours])
VAR emp_count = DISTINCTCOUNT('July 2021'[Employee Name])
RETURN
(((emp_count * Work_Days * 8.5) - WFW)/ emp_count * Work_Days * 8.5)
Solved! Go to Solution.
@TinyElephant , what is the issue you are facing
try like
RETURN
divide(((emp_count * Work_Days * 8.5) - WFW), emp_count * Work_Days * 8.5)
@TinyElephant , what is the issue you are facing
try like
RETURN
divide(((emp_count * Work_Days * 8.5) - WFW), emp_count * Work_Days * 8.5)
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 | |
101 | |
86 | |
64 |