Forum Discussion
sharvan029
9 years agoRegular Visitor
How can i use the CALCULATE function to get the Total?
Hi, I am trying find out the Total Sale of Movie ticket of all the Movies , as you can see in the screenshot I have created a measure like CAL Total Sale_AllMovie = CALCULATE([Sum of tota...
- 9 years ago
Hi sharvan029
Remove filters from MovieGenre as well. Revised code
CAL Total Sale_AllMovie = CALCULATE ( [Sum of total sales], ALL ( MovieDetails[Movietitle] ), ALL ( MovieDetails[MovieGenre] ) )
Zubair_Muhammad
Community Champion
9 years agoHi sharvan029
Remove filters from MovieGenre as well. Revised code
CAL Total Sale_AllMovie =
CALCULATE (
[Sum of total sales],
ALL ( MovieDetails[Movietitle] ),
ALL ( MovieDetails[MovieGenre] )
)- sharvan0299 years agoRegular Visitor
Zubair_Muhammad Thank you!!