Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

giorgiomeda
New Contributor

Selecting a single value of a field, according to specific condition

Hello everybody,

I have a fomula that displays the maximum aggregated value of a certain field. This expression is shown here below:

'*'&num(MAX(TOTAL AGGR(sum({<$(v_CY), $(v_CY_BP), CD_SCENARIO={'ACT'}, [DMD Code] =- {'ND'}>}[AM_NET_SALES]), [Dealer Name]))/1000,'#,###.0')&' k$'

I would like to know which is the formula to display the Deler Name that corresponds to the maximum value, obtained with the formula above.

Thank you very much.

Community Browser