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: 
Vern2022
Contributor III
Contributor III

Have the Median Value repeated for every row. Based on Table column, not the data set loaded

Hi all,

 

How do I accomplish having the Median value repeated for every row. When I apply the Median function, it just applies it to the measure concerned but doensn't look at the whole entire table column.

I don't want the median of the data set loaded either, I just want the Median of the measure to be repeated for every row, whilst ordering the numbers itself within the expression given the numbers are not in sorted order in the table itself. I will not sort the table as this needs to apply to a pivot already sorted by something else. Can someone tell me how this is accomplished please?

Many thanks.

2 Replies
Aditya_Chitale
Specialist
Specialist

can you share sample data along with required output ?

Regards,

Aditya

Vegar
MVP
MVP

Let's assume you are using the measure median([Value]) . That measure will calculate the median aggregatet per dimension combination in your table. In order to get a total median value for the whole datavetenskap, ignoring the dimensions in your table,  then you need to use the TOTAL attribute. 

Try this:

median( TOTAL [Value])

 

If this is not the right solution then please provide an example and an expected  output of that example.