Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi guys,
I have a dataset that looks like this:
Policy Number | Policy Start Date | Cancellation Date |
123 | 01/01/2019 | 05/05/2019 |
234 | 02/02/2019 | 06/06/2019 |
345 | 03/03/2019 | 06/06/2019 |
456 | 04/04/2019 | "" (Blank) |
I want to be able to create a measure that allows me to calculate a cancellation rate based on the above table.
Currently, I have the following formula:
Solved! Go to Solution.
@Anonymous ,
Use ALL(Table) instead of ALL(Table[Column]) as below:
Cancellation Rate = DIVIDE ( SUM ( [Cancelled] ) , CALCULATE ( COUNT ( 'Table'[Policy Number] ) , ALL ( 'Table') ))
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous ,
Use ALL(Table) instead of ALL(Table[Column]) as below:
Cancellation Rate = DIVIDE ( SUM ( [Cancelled] ) , CALCULATE ( COUNT ( 'Table'[Policy Number] ) , ALL ( 'Table') ))
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
78 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |