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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
jvaught
Advocate I
Advocate I

Summing a column in table visual

I'm sure this has been asked a bunch of times: How do I get the total to show up for the Amount value? If I use the "Sum" aggregation it give me too large of a number.

jvaught_0-1617825335607.png

I have searched the forum, but I can't figure out how to phrase my question in a way that the search results give me a good result. It's almost like it's too basic a question! Every search I do gives me answers on doing much more complicated things.

2 REPLIES 2
Anonymous
Not applicable

@jvaught 

 

Nothing can be said about it because you have not shown us the model and how the measure is written.

"Amount" is raw data. "Sum of Amount" is just selecting "Sum" in the aggregation choices for that column. 

jvaught_0-1617851633480.png

 

I don't know what else to provide, the model has a whole bunch of things unrelated to my question and I've yet to figure out how to provide info without giving away all of my client's data!

 

Let's try this: I added an index upstream to give me a column I can show you which will also force the table to display not aggregated. 

jvaught_1-1617852730467.png

You can see that there are multiple rows with similar amounts (e.g., two rows with Amount = $15k). So without the index the table collapses to what I showed in the OP.

jvaught_2-1617852825734.png

It makes sense to me that "Sum of Amount" will show $30k because there are two rows in the source data with the amount of $15k. My question is how can I get a column total on the "Amount" column which sums the row values shown, namely only one occurrence of the $15k value, one occurrence of the $17k value, etc. Like this:

jvaught_3-1617853034348.png

I am doing my best to provide the info needed, but I don't really know what to provide. If there is still not enough here for you to move the ball down the field with me, maybe you can ask a clarifying question or two. Thanks in advance.

 

 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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