cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Franzt Frequent Visitor
Frequent Visitor

Having issues summing table

Hi

I want to calculate different totals for this table

 

CASE A - first column Raggruppamento = “Altro”

Capture.PNG

CASE B - first column Raggruppamento = “Office”

picture1.png

I need to calculate different total for the column “ValoreCampo2”.

 

CASE A

When I have the same codes for column “Documento”, and different codes for column “Codice Servizio”, the returned values in “ValoreCampo2” shouldn’t be the total (MIN. MAX, AVG?), i.e. 35 is the correct number, but 70 is wrong.

 

CASE B

When I have the same codes for column “Documento”, but different codes for column “Codice Servizio”,  the value returned in “ValoreCampo2” is correct (TOTAL), as in the picture (239).

 

Can you help me on using that to make the calculation with DAX?

Many thanks

 

Francesco

 

 

4 REPLIES 4
RobinDeFal Member
Member

Re: Having issues summing table

Hi @Franzt  ,

Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

Cheers,
Robin

RobinDeFal Member
Member

Re: Having issues summing table

Hi @Franzt  ,

In case A , what Total are you expecting? If you don't want the total to show, you can hide the Total for that table.

 

Cheers,

Robin

Franzt Frequent Visitor
Frequent Visitor

Re: Having issues summing table

Hi Robin,

 

When I have the same values for column “Documento”, but different values for column “Codice Servizio”, the returned values in “ValoreCampo2” shouldn’t be the total. I want 35 to appear as total in bold and not 70.

 

When I have the same values for column “Documento”, and the same values for column “Codice Servizio”,  the value returned in “ValoreCampo2” is computed as total, as in the picture (239), and it's correct.

Best,

Francesco

RobinDeFal Member
Member

Re: Having issues summing table

Hi @Franzt  , 

Please copy paste some sample data (not picture) or share your .pbix file. To make it easier for us to help you out.

 

Cheers,

Rob

Helpful resources

Announcements
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 139 members 1,459 guests
Please welcome our newest community members: