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
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
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.

Top Solution Authors