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 am trying to use the user selection to calculate a measure:
User will provide me the RetirementAge parameter, and based on the user selection I want to calculate the total FTE that is above the RetirementAge:
In the above scenario, if the user selects 60 as retirement age, my desired output is 1+0.5 = 1.5.
Similarly for user selection 85, I only have one employee who is above that age, so the output will be FTE of that employee i.e. 0.5.
How can I achieve this please ?
Thanks !
I have tried:
But that gave me error:
Solved! Go to Solution.
@Saniat Try:
SUMX(FILTER('1'
,'1'[Age] >= RetirementAge[RetirementAge Value]
,[FTE]
)
that's if RetirementAge Value is a measure
@Saniat Try:
SUMX(FILTER('1'
,'1'[Age] >= RetirementAge[RetirementAge Value]
,[FTE]
)
that's if RetirementAge Value is a measure
Great, worked nicely.
I also had a variable, so had to use together with CALCULATE:
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 |