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
Euro0681
Helper II
Helper II

Faster Calculation or Same?

1. 'Table'[Total Amount] <----- Column from the model
2. Measure = SUM('Table'[Amount])

I have a column coming from the model (1) and then created a measure that takes the sum of the column (2), So when creating another Measure to apply a filter would there be a difference in performance between the 2 Measures Below?

Measure 1 = Calculate( [Measure], 'Table'[Date] = "04-12-2020" )
Measure 2 = Calculate( SUM('Table'[Total Amount]), 'Table'[Date] = "04-12-2020" )

Same Result from both measure just wondering if one is faster than the other or the same in performance?

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

no difference. 

actually 

Measure 1 = Calculate( [Measure], 'Table'[Date] = "04-12-2020" ) 

is this:

Measure 1 = Calculate(  Calculate( SUM('Table'[Total Amount])), 'Table'[Date] = "04-12-2020" )

 

the two Calculates will be coumted as one

View solution in original post

1 REPLY 1
FreemanZ
Super User
Super User

no difference. 

actually 

Measure 1 = Calculate( [Measure], 'Table'[Date] = "04-12-2020" ) 

is this:

Measure 1 = Calculate(  Calculate( SUM('Table'[Total Amount])), 'Table'[Date] = "04-12-2020" )

 

the two Calculates will be coumted as one

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors