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

Price Difference Table chart in Qlik Sense

Dear Community

I wonder how can I build a Price Difference Table in Qlik Sense. It is to show the Percentage price variance between Current price and Last price for parts.


Calculation : [ ( Current price - Last price ) / Last PO price x 100% ]

Part No.PriceDatePrice Difference
ABC123410001/1/2015-
ABC123415001/2/201550%
ABC345615003/1/2015-
ABC345613204/2/2015-12%
BCD3455300016/1/2015-
BCD3455300015/2/20150%
ERT9999200020/2/2015-
JSH767010005/1/2015-
JSH767011002/2/201510%
RTY8909300021/1/2015-
RTY89093000.154/2/20150%
TYU2435235013/1/12015-
TYU2435250020/1/20156%
TYU2435300015/2/201520%
UIO898923504/1/2015-

How can I set the expression in Measures for calculating Price Difference?

Thank you very much. Please give me a helping hand.

13 Replies
Michael_Tarallo
Employee
Employee

Hello Tang man, I have the request out to the team, I will update here once I hear back from them.

Mike T

Regards,
Mike Tarallo
Qlik
Michael_Tarallo
Employee
Employee

Hello Tang man -

This is what I have found:

Most functions can be used in the script, in the UI or in both.

  • Most functions (high percentage) can be used in both places
  • Some can be used only in the script: Exists(), Peek(), Evaluate(), etc.
  • Some can be used only in the UI: Above(), Below(), Aggr(), etc.

You can also review this comprehensive document which covers script syntax and visualization (UI) expressions.

http://help.qlik.com/sense/en-US/pdf/Script%20Syntax%20and%20Chart%20Functions%20Guide.pdf

Let me know if you  have any questions.

Regards,

Mike T

Qlik

Regards,
Mike Tarallo
Qlik
Not applicable
Author

Hello Michael

Thank you very much for help. Those a very useful information for me. Thx for providing Great Support.