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
hopefully a quick one.
I am using this Dax pattern to calulcate a 3month average. I have a measure that calcs someones productivity. This image is the monthly values, but when I apply the pattern I am seeing value that do not appear correct. The final three months should be trending up surely? Any advice?
Dax measure as follows:
Solved! Go to Solution.
@Pmorg73 , Try like
calculate(
DIVIDE([Billable Time], [Capacity Actual]) ,
DATESINPERIOD (
'01_Calendar'[Date],
LASTDATE ( '01_Calendar'[Date] ),
-3,
MONTH) )
or
calculate(
AverageX(values('01_Calendar'[Month year]) ,
calculate(
DIVIDE([Billable Time], [Capacity Actual]))) ,
DATESINPERIOD (
'01_Calendar'[Date],
LASTDATE ( '01_Calendar'[Date] ),
-3,
MONTH) )
@Pmorg73 , Try like
calculate(
DIVIDE([Billable Time], [Capacity Actual]) ,
DATESINPERIOD (
'01_Calendar'[Date],
LASTDATE ( '01_Calendar'[Date] ),
-3,
MONTH) )
or
calculate(
AverageX(values('01_Calendar'[Month year]) ,
calculate(
DIVIDE([Billable Time], [Capacity Actual]))) ,
DATESINPERIOD (
'01_Calendar'[Date],
LASTDATE ( '01_Calendar'[Date] ),
-3,
MONTH) )
I tried the 2nd measure and it worked for me. thanks a lot
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 |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |