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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Vnidias
Regular Visitor

Sum of measures in a calculated column

Good afternoon its possible create a sum of measures with a column table and create a calculated column?

 

i have this formula 

 

=[Net Secondary Quantity - Invoiced (EA)]+[Net Secondary Quantity - Invoiced ECOM (EA)]+[Net Secondary Quantity - Return (EA)]+[Net Secondary Quantity - Invoiced 3 ECOM(EA)]+[Net Secondary Quantity - Return ECOM (EA)]+[Net Secondary Quantity - Invoiced 4]+SUM('Secondary Sales Invoices'[Quantity Invoice Order Eaches])

 

that works pretty well as a measure.

 

Vnidias_0-1673285377344.png

 

but i need to do a calculated column to enable filters

3 REPLIES 3
Vnidias
Regular Visitor

guys thanks for the help, was bug the problem was solved itself i just made some changes in calculation.

 

but again thanks for the assistance.

JFAR49ER
Frequent Visitor

Could you change that measure by wrapping it with CALCULATE() This would then allow you to introduce filter contexts to the measure? 

Greg_Deckler
Super User
Super User

@Vnidias Calculated columns are not dynamic like measures but are only calculated at the time of data refresh. Not sure what you mean by needing it as a calculated column to enable measures, can you elaborate?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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
Top Kudoed Authors