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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
marciomendonca
Frequent Visitor

SUMMARIZE TABLE NOT SHOWING ALL DATA

Good afternoon, community, here's my problem. I want to be able to, daily, save a specific table from Power Bi on Excel, the thing is when I try to directly copy it to Excel, the table gets all messed up and out of order, so to  go around this issue I decided to create a summarized version of the bigger table and, apparently, worked just fine. But then, when I started doing some math using the values of the summarized table, the calculation simply didn't match.

marciomendonca_0-1662139403035.png

The expected value (SUM executed on the values of the bigger table)

marciomendonca_1-1662139446312.png

Value that I get when SUMMING the values of the summarized table

 

marciomendonca_2-1662139485405.png

1829 lines on the bigger table

marciomendonca_3-1662139517033.png

Only 1769 lines on the summarized table

 

marciomendonca_4-1662139548284.png

And here was how I created the summarized table. Only using the SUMMARIZE function (originally, I had also used the the CALCULATETABLE function to filter only the type of data that I was looking for, but I removed to see if that was the problem and, apparently, it wasn't)
Any help? What did I do wrong?

Many thanks in advance!

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @marciomendonca 

Thanks for reaching out to us.

according to your description, it may be related with Context, please use all() function when you sum the total of the summarized table

vxiaotang_0-1665128769479.png

for example, 

preco_a_cobrar_measure = SUMX(ALL(SALVAR_DIARIAMENTE),[preco_a_cobrar])

vxiaotang_2-1665129612329.png

 

vxiaotang_1-1665129599364.png

FYI: ALL function (DAX) - DAX | Microsoft Learn

Returns all the rows in a table, or all the values in a column, ignoring any filters that might have been applied. This function is useful for clearing filters and creating calculations on all the rows in a table.

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xiaotang
Community Support
Community Support

Hi @marciomendonca 

Thanks for reaching out to us.

according to your description, it may be related with Context, please use all() function when you sum the total of the summarized table

vxiaotang_0-1665128769479.png

for example, 

preco_a_cobrar_measure = SUMX(ALL(SALVAR_DIARIAMENTE),[preco_a_cobrar])

vxiaotang_2-1665129612329.png

 

vxiaotang_1-1665129599364.png

FYI: ALL function (DAX) - DAX | Microsoft Learn

Returns all the rows in a table, or all the values in a column, ignoring any filters that might have been applied. This function is useful for clearing filters and creating calculations on all the rows in a table.

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

parry2k
Super User
Super User

@marciomendonca very hard to answer with the details you provided.

 

Read this post to get your answer quickly.

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



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.