Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
nayanpatel
Partner - Creator
Partner - Creator

Expression to calculate Rows Median in straight chart

Hi Friends,

I wanted to calculate Median of Rows in Straight chart. below given is the expression I am using. However, this expression giving me expression total. Also there is no selection available in Straight chart to calculate "Median of Rows". Please help how to calculate Median.

Exp=Median(Aggr(Only({<FlagDate = {1}>} [E2EDays]),id))

Thank you.

Nayan

4 Replies
gerry_hdm
Creator II
Creator II

Hello

you can  the Median setting in the diagram

snap159.jpg

Anonymous
Not applicable

try something like

Median({<FlagDate = {1}>}Aggr(Only({<FlagDate = {1}>} [E2EDays]),id))

nayanpatel
Partner - Creator
Partner - Creator
Author

Hi Shiva, Thanks for reply.

Both expressions results same output

Anonymous
Not applicable

if possible can you share a sample .qvw?