Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
cfriesen
Frequent Visitor

Help with Calculating Impact

I cannot for the life of me figure out how to get impact to calculate correctly. I have a table that has total handle time in minutes in the column [act_HandleMins] and a column that has total calls taken [TotalCallsHandled]. Now I neet to calculate Average handle time in Seconds and I do so with the Measure formula:

 

 

 

CRT = 
IF(
    DIVIDE(
        SUM('Aux Raw for Division'[act_HandleMins]) * 60,
        SUM('Aux Raw for Division'[TotalCallsHandled])
    ) = 0,
    BLANK(),
    DIVIDE(
        SUM('Aux Raw for Division'[act_HandleMins]) * 60,
        SUM('Aux Raw for Division'[TotalCallsHandled])
    )
)

 

 

 

and I have the results displayed in a Matrix table that drills down 3 steps in the rows going from leader > supervisor > the operator  And the Column being CRT.  Now I need to add another column that shows what the impact is on CRT for each row. 
Any help would be greatly appreciated. I have attempted to modify some ideas from other posts to no avail. 
Sample Table:

SupervisorManagerOperatoract_HandleMinsTotalCallsHandledCRT (Measure)
agt1053530
aaggtt1229348
bhu11.533380
bbhhuu10.247479
civ1519285
cciivv12.731394



1 ACCEPTED SOLUTION

Hi @cfriesen ,

 

We can create measures.

totalcrt = CALCULATE([CRT],ALL('Aux Raw for Division'))
Impact on CRT = IF([CRT]>[totalcrt],[CRT]-[totalcrt],0)

vtangjiemsft_1-1688629465790.png

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

View solution in original post

3 REPLIES 3
v-tangjie-msft
Community Support
Community Support

Hi @cfriesen ,

 

I'm sorry I can't understand it (I need to add another column to show the impact on each CRT row), can you provide the detailed logic and your expected results? Thanks in advance.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

 

 

Here is a screenshot of the Matrix table I am using, Im wanting a new column that shows what each rows impact on the total [CRT] (total talktime/calls) so if one rows CRT is higher then the total CRT have that new column show how many seconds it is raising the total amount. Screenshot 2023-07-05 074423.jpg

Hi @cfriesen ,

 

We can create measures.

totalcrt = CALCULATE([CRT],ALL('Aux Raw for Division'))
Impact on CRT = IF([CRT]>[totalcrt],[CRT]-[totalcrt],0)

vtangjiemsft_1-1688629465790.png

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.