Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi Guys,
please help. I would like to create a measure wherein I will calculate the [ActualWorkingHoursMontly] * [DISTINCT # of EmployeeName]
Here's my sample dataset
@Anonymous
Can you try this formula.
Measure = SUM(TableName[ActualWorkingHoursMontly]) * DISTINCTCOUNT(TableName[EmployeeName])
I hope this works
SUM(TableName[ActualWorkingHoursMontly]) * COUNTROWS(SUMMARIZE(TableName,TableName[EmployeeName])
Good Luck!
Hi @Anonymous, thank you for helping me. but I didn't get the correct results.
See screenshot below. Thank you!
Hi @Anonymous,
From your description, I could not understand the formula you have posted in below formula:
[DISTINCT # of EmployeeName], could you want to distintcount the EmployeeName? Could you please post your desired result if possible?
Regards,
Daniel He
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
136 | |
117 | |
101 | |
71 | |
61 |