Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

I need Brand Name.

max(aggr((count(Sentiment)/Count(TOTAL Sentiment))*100,Brand))

I am using the above expression and getting the maximum sentiment % of a Particular Brand but I want to find the name of the Brand which has maximum sentiment %age.

So ,Please Help me on this.

Thanks in Advance.

10 Replies
Not applicable
Author

Hi anand

can you attach some sample

Anonymous
Not applicable
Author

If you have brand as your dimension, what happens? Do you not get the correct sentiment percentage mapped to the brand name.

Not applicable
Author

a.PNG.png

The above table is showing the sentiment % of Brands.

But I need the Brand Name Which has maximum Sentiment % in a Text Box.


Anonymous
Not applicable
Author

can you post a sample app.

senpradip007
Specialist III
Specialist III

can you please upload sample application?

Not applicable
Author

Please find the attached application

Not applicable
Author

But I want that We can also show the Brand Name without selection

Not applicable
Author

Hello,

Did you try the IF statement.

If(Brand = max(aggr((count(Sentiment)/Count(TOTAL Sentiment))*100,Brand)), BrandName)

Thanks,

Angad

Not applicable
Author

Thanks to all.

I found the solution . The solution is:-

MaxString(If(AGGR(Rank(count(Sentiment)),Brand)=2,Brand))