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,
I need some help with figuring out how to get a something to sum properly please.
I would like a column in the table to sum if a measure is not 0, so I would like the below Table Column FTE to sum up if the Measure Total Hours is not 0.
I have been using this:
Can anyone please help me?
Table Column | Table Column | Table Column | Measure | What I get | What I want |
Provider Name | # of Days Worked | FTE | Total Hours | Total FTE | Total FTE ? |
Name 1 | 5 | 1 | |||
Name 2 | 1 | 0.2 | 1 | 0.2 | 0.2 |
Name 3 | 4 | 0.8 | 2 | 0.8 | 0.8 |
Name 4 | 3 | 0.6 | 3 | 0.6 | 0.6 |
Name 5 | 2 | 0.4 | |||
Total | 3.0 | 6.0 | 3.0 | 1.6 |
Solved! Go to Solution.
Hi @Anonymous
please use
Total FTE =
SUMX (
SUMMARIZE (
'Global Staff Targets',
'Global Staff Targets'[# of Days Worked],
'Global Staff Targets'[Provider Name],
'Global Staff Targets'[FTE]
),
CALCULATE (
IF ( [Total Hours] <> 0, SUM ( 'Global Staff Targets'[FTE] ) )
)
)
Hi @Anonymous
please use
Total FTE =
SUMX (
SUMMARIZE (
'Global Staff Targets',
'Global Staff Targets'[# of Days Worked],
'Global Staff Targets'[Provider Name],
'Global Staff Targets'[FTE]
),
CALCULATE (
IF ( [Total Hours] <> 0, SUM ( 'Global Staff Targets'[FTE] ) )
)
)
Thank you!!!!!
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 |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
58 | |
50 | |
44 | |
19 | |
19 |