Forum Discussion
likmalik
5 years agoHelper I
Mix 2 really simple formulas
Hello I'm using a formula to get the market share of car models and it works without problem. Market share = DIVIDE ( SUM ( Sheet1[True Fleets] ), CALCULATE ( SUM ( 'Sheet1'[True Fleets]), AL...
- 5 years ago
Give this a try.
Market share = CALCULATE ( DIVIDE ( SUM ( Sheet1[True Fleets] ), CALCULATE ( SUM ( 'Sheet1'[True Fleets] ), ALL ( 'Sheet1'[Model] ) ) ) * 100, DATESBETWEEN ( Sheet1[Date], DATE ( 2020, 01, 01 ), DATE ( 2020, 12, 31 ) ) )
jdbuchanan71
5 years agoSuper User
Give this a try.
Market share =
CALCULATE (
DIVIDE (
SUM ( Sheet1[True Fleets] ),
CALCULATE ( SUM ( 'Sheet1'[True Fleets] ), ALL ( 'Sheet1'[Model] ) ) ) * 100,
DATESBETWEEN ( Sheet1[Date], DATE ( 2020, 01, 01 ), DATE ( 2020, 12, 31 ) )
)