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

Set analysis to change tables based on filter selection

Hi Im trying to switch the data coming from which table based on a current filter selection. In this case if any user chooses any value from the filter product it should take from session-product table instead of the actual session table 

chibi_0-1641439316843.png

chibi_0-1641439935933.png

 why is the expression incorrect? 

 

1 Solution

Accepted Solutions
chibi
Creator
Creator
Author

I found the correct syntax and it works now. Here's the formula for reference; 

if (GetFieldSelections(Product)=Product,sum(game_session_count),sum(session_count))

View solution in original post

2 Replies
anat
Master
Master

chibi
Creator
Creator
Author

I found the correct syntax and it works now. Here's the formula for reference; 

if (GetFieldSelections(Product)=Product,sum(game_session_count),sum(session_count))