Forum Discussion
Exclude figures from one Calculation
- 3 years ago
Hi, gray169
According to your description, You want to ignore the number of "Minor" when calculating [ResponsePct]. Right?
Here are the steps you can follow:
(1)This is my test data:
(2)I create a measure like you : “Response Met”
Response Met = CALCULATE( COUNT(Test[Reponse SLA Met]),FILTER('Test','Test'[Reponse SLA Met]="Met"))+0(3)We can create a measure : “ReponsePct”
ResponsePct = DIVIDE( [Response Met] , CALCULATE( COUNT('Test'[Reponse SLA Met]), FILTER( ALL('Test') , 'Test'[Priority] <> "Minor")))(4)We can put the measure and other fields in the visual , then we can meet your need :
If this method does not meet your needs, can you provide your input and output sample data in tabular form? So that we can better help you solve the problem.
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi, gray169
According to your description, You want to ignore the number of "Minor" when calculating [ResponsePct]. Right?
Here are the steps you can follow:
(1)This is my test data:
(2)I create a measure like you : “Response Met”
Response Met = CALCULATE( COUNT(Test[Reponse SLA Met]),FILTER('Test','Test'[Reponse SLA Met]="Met"))+0
(3)We can create a measure : “ReponsePct”
ResponsePct = DIVIDE( [Response Met] , CALCULATE( COUNT('Test'[Reponse SLA Met]), FILTER( ALL('Test') , 'Test'[Priority] <> "Minor")))
(4)We can put the measure and other fields in the visual , then we can meet your need :
If this method does not meet your needs, can you provide your input and output sample data in tabular form? So that we can better help you solve the problem.
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly