Forum Discussion
sukram1
3 years agoFrequent Visitor
Break down calculated share to date
Hi! I have been using the basics of Power BI since a few months but I am relatively new to DAX. I have contract data and would like to calculate a cancellation rate for these. These are an exa...
- 3 years ago
sukram1 , Try like
Divide(CALCULATE([Total]; Filter( 'Tabelle1','Tabelle1'[Cancelled] ="Yes") ),[Total])
or
Divide(CALCULATE([Total]; Filter( 'Tabelle1','Tabelle1'[Cancelled] ="Yes") ),calculate([Total],allselected()) )
amitchandak
3 years agoSuper User
sukram1 , Try like
Divide(CALCULATE([Total]; Filter( 'Tabelle1','Tabelle1'[Cancelled] ="Yes") ),[Total])
or
Divide(CALCULATE([Total]; Filter( 'Tabelle1','Tabelle1'[Cancelled] ="Yes") ),calculate([Total],allselected()) )
- sukram13 years agoFrequent Visitor
amitchandak Thank you very much! This is exactly what I am looking for! It works perfect!!