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
MiguelSaldana77
Resolver I
Resolver I

summation Total on Colum

Hi,  I have a problem with a total of the Visual Matrix

 

I have a table that calculate the result of a colum ("PO Importe") , but I don´t want that this formula applies to the TOTAL. The TOTAL must be the summation of the column. There is any way to do this?   See the image 

 

Matrix.jpg

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @MiguelSaldana77,

 

You should use a SUMX to make the calculations on this:

 

Total =
IF ( HASONEVALUE ( Table[Obra] ); [Po Importe]; SUMX ( Table; [Po Importe] ) )

Should work as expected.

 

Then replace the PO Importe by this one.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @MiguelSaldana77,

 

Have you solve your problem?

 

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you still need help, please share a dummy pbix file which can reproduce the issue, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
MFelix
Super User
Super User

Hi @MiguelSaldana77,

 

You should use a SUMX to make the calculations on this:

 

Total =
IF ( HASONEVALUE ( Table[Obra] ); [Po Importe]; SUMX ( Table; [Po Importe] ) )

Should work as expected.

 

Then replace the PO Importe by this one.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Thanks MFelix , but was enought with a simple    SUM()  of the calculated Measure

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