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

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.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.