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

How to combine two measures in qlik sense

Hi Community,

 

I have created two expression in qlik sense. both are working fine individually

SUM({$<Project_Id={$(vProjectId)}>}Budgeted_Project_Amount)

This will give total values as per our dimensions in stacked bar chart

num(SUM({$<Project_Id={$(vProjectId)}>}Budgeted_Project_Amount)/SUM(total <Flag_Amount>{$<Project_Id={$(vProjectId)}>}Budgeted_Project_Amount),'##.##%')

 

This will give percentages for above mentioned expression in different chart

 

But now i want combine these two measures i.e example if first measure value is 144 and second expression value is 28.57%

after i combine both measure i want show like this 144 (28.57%)

 

Can you guys please help me out from this

 

Thanks & Regards,

B V S S

 

3 Replies
Taoufiq_Zarra

@bvssudhakar 

May be :

=SUM({$<Project_Id={$(vProjectId)}>}Budgeted_Project_Amount)&' ('&num(SUM({$<Project_Id={$(vProjectId)}>}Budgeted_Project_Amount)/SUM(total <Flag_Amount>{$<Project_Id={$(vProjectId)}>}Budgeted_Project_Amount),'##.##%')&')'
Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
bvssudhakar
Creator III
Creator III
Author

Hi @Taoufiq_Zarra ,

 

Thank you for the response

 

I have tried this But it's not working

 

Thanks & Regards,

B V S S

Taoufiq_Zarra

Hi @bvssudhakar 

can you share a sample data where we can test

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉