Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
xiumi_hou
Post Partisan
Post Partisan

Table Sum is not correct

Dear all, I create a table, but the total on the last line seems not correct, any idea? Thanks!

 

1.JPG2.JPG

 

1 ACCEPTED SOLUTION

Hi @xiumi_hou ,

 

Please create a new measure like that to work on it.

SUMX(your table, [measure])

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

11 REPLIES 11
az38
Community Champion
Community Champion

 @xiumi_hou  hi

i think you use aggregation

pick column Current in Vusuals pane and set Do not summarize

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Hi @az38 Thanks for reply.

 

I just checked my panel, and it shows not aggregation.

 

az38
Community Champion
Community Champion

@xiumi_hou 

what is Current? is it field in data source or calculated column or measure?

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

@az38  column one is a switch function of different measures. Current is the count value of measures. (Each row is a different measure) Thanks!

 

az38
Community Champion
Community Champion

@xiumi_hou 

the issue is somewhere in measures, give us the measure statements to troubleshooting

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

@az38 

CALCULATE(
COUNT(Calls[Parent_id])+0,
FILTER(
Calls,
Calls[status]="Cancelled"&&(
Calls[Type_c]="Assessment" ||
Calls[Type_c]="Coaching_booster" ||
Calls[Type_c]="Coaching_completion" ||
Calls[Type_c]="Coaching_Session"||
Calls[Type_c]="Treatment Session" )
)
)
 
This is my measure, every measure is exactly the same, except change the Call[Status] to held/missing/cancelled....)

 

az38
Community Champion
Community Champion

@xiumi_hou 

try ALL() inside FILTER() like

FILTER(
ALL(Calls),...
)

is it Current measure? or Current has another statement?

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

@az38  Thanks, this is my current measure

Current = SWITCH(
                            MIN('Sheet1'[Number]) ,
                            --------------------------------------
                            1,[Count_Sessions_Scheduled],
                            2,[Count_Held_Sessions],
                            3,[Count_Held_Sessions_A1],
4,[Assigned Cases],
5,[Count_Sessions_Missing],
                            6,[Count_Sessions_Cancel],
7,[Count_Sessions_Cancel_within 24hrs],
8,[Count_Sessions_Cancel_outside 24],
9,[Count_Sessions_planned]
                            )

 

az38
Community Champion
Community Champion

@xiumi_hou 

also you can remove all sensitive data from your report and share pbix-file to any cloud service

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Hi @xiumi_hou ,

 

Please create a new measure like that to work on it.

SUMX(your table, [measure])

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
az38
Community Champion
Community Champion

@xiumi_hou 

try CALCULATE() over MIN, like CALCULATE(MIN('Sheet1'[Number])) to use row context and correct summarize in total

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors