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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
jaryszek
Memorable Member
Memorable Member

Different sum calculated by dax and power query - why?

Hello, 

this is a result (true one!!) which power query calculated:

jaryszek_0-1750226953451.png
Now i created dax :

Total Amortized Cost = SUM('Fct_EA_AmortizedCosts'[CostInBillingCurrency])
and got:
jaryszek_1-1750227013218.png


Why? This is very important to have the results the same.

How to valid this sum?
Best,
Jacek

 

1 ACCEPTED SOLUTION

Hi @jaryszek,

 

I hope the information provided has been useful. Please let me know if you need further clarification or would like to continue the discussion.

 

If your question has been answered, please “Accept as Solution” and Give “Kudos” so others with similar issues can easily find the resolution.

 

Thank you.

View solution in original post

3 REPLIES 3
v-tejrama
Community Support
Community Support

Hi @jaryszek ,

Thanks for reaching out to the Microsoft fabric community forum.

 

I have reproduced this scenario in Power BI (Fabric) to investigate why Power Query and DAX were showing different totals initially. I loaded the dataset containing the CostInBillingCurrency column into Power BI. In Power Query, I created a Blank Query, opened Advanced Editor, and used the formula:


= List.Sum(Costs[CostInBillingCurrency])

 

After applying the changes, I brought that result into the data model.

 

I also created a DAX measure using:

Total Amortized Cost = SUM(Costs[CostInBillingCurrency])

 

Then, I added both values to a visual to compare them. The totals now match. This shows that when both queries and models reference the same clean data, Power Query’s List.Sum and DAX’s SUM() produce the same results.

It’s likely that any earlier mismatch was caused by intermediate steps, filters, or transformations applied before running the List.Sum. After running this setup clearly, the results are consistent between Power Query and DAX.

Posting this here to help anyone facing the same kind of confusion between Power Query and DAX totals in Power BI (Fabric).

 

Please find the attached pbix file for your reference.

 

If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it.


Best Regards,
Tejaswi.
Community Support

 

 

Hi @jaryszek,

 

I wanted to follow up and see if you had a chance to review the information shared. If you have any further questions or need additional assistance, feel free to reach out.

 

If the response answered your query, kindly “Accept as Solution” and Give “Kudos” to help others in the community benefit from it as well.

 

Thank you.

Tejaswi.

Hi @jaryszek,

 

I hope the information provided has been useful. Please let me know if you need further clarification or would like to continue the discussion.

 

If your question has been answered, please “Accept as Solution” and Give “Kudos” so others with similar issues can easily find the resolution.

 

Thank you.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.