Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to use set analysis? Cost per hour consultant

Hi,

I need to calculate the cost per hour for an consultant.

The cost per hour will be: (Total Cost / Total worked hours)

But I also need the cost per client A:

The cost for cliente A: (Total Cost / Total worked hours) * Total worked hours for client A

I have in total 10 clients, but when I try to calculate for 1 client the cost per client is incorrect.

I will aprecciate if someone can help me.

Best regards!

1 Reply
Not applicable
Author

May be a straight table can be used.

Dimension - Client

Expression - (Total Sum(Cost)/ Total sum(Worked Hours))* sum(Worked Hours)