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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikuser16
Contributor
Contributor

How do I handle aggregations (max,sum) and group by clause in datamart - using compose version 2024.12

Hi ,

I am new to Qlik compose, I am trying to create a Datamart table which contains data from the compose Datawarehouse tables. I have some of the columns mapped directly but few columns based on the CASE statements along with MAX needs to be mapped , but somehow that is not working in data mart section.

case statements looks like this:  max(case when name='aaa' then id end) as primary id

Tried below options , but no luck

option 1: Creating views in compose Datawarehouse and tried accessing them in model , but we can only access landing zone tables/views in model section not the Datawarehouse tables/views.

option 2: tried writing expressions on the Datamart attribute section , throwing error

 Can you please help me out here

 

 

 

 

 

 

 

 

Labels (1)
0 Replies