Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

chart manipulation

I have a table, having events with different date but same name, i want to calculate event with highest cost, i need to show events having highest investment in a chart

EventIdEventNameDateCost
event1ABC event1.1.20111000
event2ABC event15.2.20113000
event3XYZ event27.3.20112000
1 Solution

Accepted Solutions
Not applicable
Author

Try this,

Dimension : EventName

Expression : =aggr(max(Cost),EventName)

View solution in original post

7 Replies
giakoum
Partner - Master II
Partner - Master II

Hi.

this sounds easy so maybe I am missing something here.

Create a bar chart, sorted by cost desc and there you go. You can combine eventid and eventname as a dimension so that you have a unique reference.

BR, Ioannis

Not applicable
Author

yeah it should be a simple one, but its not working rite, its a bar chart, i can have event id as dimension and cost as expression, but the problem is that i have to show the event name on dimension

i have taken bar chart, event name as dimension and cost as expression, it is summing the cost up for the event name which is not the true picture

giakoum
Partner - Master II
Partner - Master II

You can combine eventid and eventname as a dimension so that you have a unique reference :

eventid & ' ' & eventname

Not applicable
Author

Try this,

Dimension : EventName

Expression : =aggr(max(Cost),EventName)

Not applicable
Author

yeah thats giving the right statistics, but the user is not interested in the eventids, how to hide the eventid from the dimension

Not applicable
Author

Then, dont take Eventid in the dimension . What is the final fomat expected here..?

Not applicable
Author

Thanks yogan, ur answer solved the problem