Forum Discussion
juliausha
8 years agoHelper I
Divide one column by another with a filter
Hi! Does anyone know how to divide one suummarized column by another with a certiain text filter? My example: I created a matrix for different types of fruits. There's an Action (which is...
- 8 years ago
Try with following
Measure = DIVIDE ( CALCULATE ( SUM ( Table1[Amount] ), Table1[Action] = "Eaten" ), CALCULATE ( SUM ( Table1[Amount] ), Table1[Action] = "Purchased" ) )
Zubair_Muhammad
8 years agoCommunity Champion
Try with following
Measure =
DIVIDE (
CALCULATE ( SUM ( Table1[Amount] ), Table1[Action] = "Eaten" ),
CALCULATE ( SUM ( Table1[Amount] ), Table1[Action] = "Purchased" )
)- juliausha8 years agoHelper I
Thank you very much Zubair_Muhammad ! It worked!