Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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!!!!!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
9 |