Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to calculate Fees to Date


Hi,

I have to calculate Employees Fees to Date in straight or pivot table. can anyone give example of how to consider dimension and expression.

I have EmployeeID and Sum(Fees) where FeeType=Gross

Thanks.

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Create a straight table with EmployeeID as dimension and sum({<FeeType={'Gross'}>}Fees) as expression. Make sure you use the exact case-sensitive names of your document.


talk is cheap, supply exceeds demand

View solution in original post

8 Replies
Not applicable
Author

Any help please

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Create a straight table with EmployeeID as dimension and sum({<FeeType={'Gross'}>}Fees) as expression. Make sure you use the exact case-sensitive names of your document.


talk is cheap, supply exceeds demand
MayilVahanan

HI

Try like this

  EmployeeID -> Dimension


Sum({<FeeType={'Gross'}>}Fees) -> Expression

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Hi,

Thanks and if I want to see only Total instead of individual EmployeeID means what can I do. please let me know.

Not applicable
Author

Hi,

Thanks and if I want to see only Total instead of individual EmployeeID means what can I do please let me know.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Remove the dimension so only the total is returned. Or use the expression in a textbox.


talk is cheap, supply exceeds demand
christian77
Partner - Specialist
Partner - Specialist

Hi:

In that case set the table with no dimension o place the expression they told you in a text box.

If you want that year to date, add in your set Año={'$(vAñoActual)'}, Mes={'$(vMesActual)'}, where vAñoActual=max(Año) y vMesActual = max(Mes) in your var pannel.

Amelia, tienes que leerte la ayuda de la máquina.

Not applicable
Author

Thanks and it's working.