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: 
Jack21
Contributor II
Contributor II

Median for Table Total Row

I require help in identifying Median for Table Total in Row (highlighted in Blue). Shown sample below. please provide the QVW sample file for this. it would be a great help. Thanks in advance.

CURABCDE
USD10.008.0013.006.0014.00
INR58.0056.0061.0054.0062.00
EUR62.0060.0065.0058.0066.00
CZK35.0033.0038.0031.0039.00
Total165.00157.00177.00149.00181.00

Median for the total 165.00

 

 

Labels (1)
10 Replies
marcus_sommer

In this case you need to extend the logic to ensure that the expression without available data didn't return 0 else null(). Quite probably you will need a check like: if(exp = 0, null(), exp). Just try the logic within a textbox with:

RangeFractile(0.5, 12,15,16,0) vs. RangeFractile(0.5, 12,15,16,null())

- Marcus