Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
jmialoundama
Specialist
Specialist

DYNAMIC FORMULE QLIK SENSE

Hello,

I have a problem with a formula that I want to make dynamic.

I have the following PivotTable and I put a pane that points to my dimension called "CODE". This filter allows the user to choose the code he wants to analyze in the crosstab.

test.PNG

SUM (BALANCE_M.VALUE OF N) - SUM (BALANCE.VALUE M) - SUM (BALANCE_M.CODE SELECTED) + SUM (SELECT BALANCE_Y.CODE)

My formula is:

= Sum ({<CODE = {'681740'}>} [BAI_BALANCE_M]) - sum ({<CODE = {'781740'}>} [BAI_BALANCE_M]) - sum ({<CODE = {'397000'}>} [BAI_BALANCE_M]) + sum ({<{CODE = '397000'}>} [BAI_BALANCE_DEC_Y_1])

 

This formula is fixed, I wish that this formula is dynamic, that is to say that when the user has like code N = 1234, M = 45742, and CODE = 67940 then the formula automatically changes alone in the table.

 

Thanks in advance

Labels (1)
1 Reply
Anil_Babu_Samineni

How is the values are calculating?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful