Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
CREATE MEMBER CURRENTCUBE.[Measures].[EmT]
AS IIF(([Units Of Measure].[UoM Code].&[0/EmT],[Measures].[Employee Time])=0.0,NULL,([Units Of Measure].[UoM Code].&[0/Emt],[Measures].[Employee Time])/([Units Of Measure].[UoM Code].&[0/EmT],[Measures].[Employee Time Count])/365.25),
FORMAT_STRING = "#,##0.0",
VISIBLE = 1 , ASSOCIATED_MEASURE_GROUP = 'Employees';
I have "unitsofmeasures" table and "UoM code" field inside it already. It's just that MDX I can't seem to translate.
HI @Amitg_4890 ,
to my understanding: there are 2 measures in the cube called " Employee Time" and "Employee Count Time"
essentially
format(
if (
[Employee Time]= 0, blank() --null,
[Employee Time]/ [Employee Time Count] / 364.25
),
int
)
the above is then dax translation.
If you provide more information on the measures, we could create variables to add on the code and get the output.
Appreciate a thumbs up if this helps.
let me know if this resolves the question.
omg thank you very much for the response!
And there's only employee time, nothing like employee count time but count is an aggregation which was used, I believe. Something like count(employee time).
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 8 | |
| 8 | |
| 7 |