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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Kfausch
Helper II
Helper II

Basic Calculate Formula not working

Hello,

 

I have 1 table and 2 formulas, all pretty basic stuff I have done dozens of times, but one of my formulas is doing something different and I'm not sure why. I have 1 formula that sums the quantity and another that sums the quantity for a particular entry type. 

 

QTY = SUM('Value Entries'[Item_Ledger_Entry_Quantity])
Consumption Qty = CALCULATE([QTY], 'Value Entries'[Item_Ledger_Entry_Type] = "Consumption")
 
Instead of just calculating the sum of the Consumption entries, its duplicating that value to other types like this.
 
Consumption QtyItem_Ledger_Entry_TypeQTY
-592003278Consumption-592003278.5
-592003278Output279198525.1
 
Typically when added the fields like this it wouldn't show the output line or the Consumption quantity would be 0. The QTY formula is working fine.
 
Anyone have any idea why it would do this?
 
Thanks for reading!
 
1 ACCEPTED SOLUTION
Kfausch
Helper II
Helper II

I figured it out, it some something I was doing with my page filters.

View solution in original post

2 REPLIES 2
Kfausch
Helper II
Helper II

I figured it out, it some something I was doing with my page filters.

amitchandak
Super User
Super User

Formula seems fine. Can you share a sample pbix after removing sensitive information

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.