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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Can i define two variables in same expression

Can i define two variables in same expression

share_capital=sum({<ancestor_id='BS010010010000000000000000000000',str_coa_description=,str_pov_name={'ACTUAL'}>}money_measure)

Reswrves_surplus=sum({<ancestor_id='BS010010030000000000000000000000',str_coa_description=,str_pov_name={'ACTUAL'}>}money_measure)

share_capital and Reswrves_surplus are my variables but this code is not working help me out

1 Reply
Not applicable
Author

Hello,

Yes, you can define two variables with the same content.

Can you post your qvw file ? because I see no specific anomalies in your expressions, it should work.