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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Total SUM on Row level in Table not working

Hi guys,

 

in the image below i have a Table with 4 columns that count distinct the values for each contributiongroup.

 

In the this table the Total dont sum the right amount.

 

I expect the following sum total :

141 and not 90

97 and not 61

141 and not 169

99 and not 68.

 

 

Thank you so much for help.

 

Greets,

 

Rega

 

Any suggestions?

 

 

11 REPLIES 11
Anonymous
Not applicable

Hi @Anonymous,

 

You have the option "row subtotals" enabled I assume ?

 

Anyway I went to test it myself results displayed below:

when I tried to do the same as you it diddnt work with this as a result

Capture1.PNGCapture3.PNG

 

But when I added a column value it did work like below

Capture2.PNGCapture4.PNG

Hope this points you in the right direction.

 

Regards,

L.Meijdam

Anonymous
Not applicable

@AnonymousThanks for your suggestion. But i need to do with a Table not with a Matrix.

 

I hope somebody can help me.

 

 

 

Anonymous
Not applicable

Hi @Anonymous,

 

May I ask why you need to use a Table since a Matrix seems like the better choice if you want to display row subtotals.

 

Regards,

L.Meijdam

Anonymous
Not applicable

Hi @Anonymous

 

it's because i have a lot of columns values from a dimension that i will use.

 

 


@Anonymous wrote:

Hi @Anonymous,

 

May I ask why you need to use a Table since a Matrix seems like the better choice if you want to display row subtotals.

 

Regards,

L.Meijdam


 

@Anonymous,

 

Check if the following measure works.

Measure =
IF (
    ISFILTERED ( Table1[Contributiegroep] ),
    DISTINCTCOUNT ( Table1[CUSTACCOUNT] ),
    SUMX (
        ALL ( Table1[Contributiegroep], Table1[Contributietarief] ),
        CALCULATE ( DISTINCTCOUNT ( Table1[CUSTACCOUNT] ) )
    )
)
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

hi @v-chuncz-msft,

 

Thanks for your suggestion.

 

Unfortunatly the result is still not what i would have expected.

 

I created, based on your measure, the measure X. In the following image you can see that the total sum of the measure x is 76.

When i export this table to Excel and calculate the sum of this row i get 99 (this is the right amount).

 

 

 

 

 

 

 

@Anonymous,

 

Please share us a simplified model and expected result.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-chuncz-msftHow can i share my pbix to you?

@Anonymous,

 

Just post some dummy data and illustrate, but to be precise and concise.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

hi @v-chuncz-msft,

 

here's the link to the pbi file.

 

Thank you so much!

 

 

https://1drv.ms/u/s!ApQVF85_XaxchkJedVai6AAm-IrL

 

@Anonymous,

 

To be honest, the example above is not simple or clear enough for us to understand.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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