Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
abc_18
Creator II
Creator II

How to limit the data in a table using variable input box

Hi,

I have created a input box, as a slider and I am using it in front end dashboard.

variable name is vTop10

Now I have a staright table, having one dimesnsion as 'Sales manger name', and multiple expressions.

I have to restrict the data in table based on input box selection, how to acheive this?

Thanks

 

Labels (1)
2 Replies
Seyko
Partner - Creator
Partner - Creator

Hello,

Which do you exactly want to restrict? The values of the dimension, the calculations on your measures or both?

cordially.

Excuse my english, i'm french!
Yoshidaqlik
Creator II
Creator II

Hi

would it decrease the number of rows in the table?
in your dimension put

 

Top10:

AGGR(
	if(
		Rank(
			your_expression
		,4)<=$(vTop10),
		[Sales manger name]
	)
,[Sales manger name])

 

 

Down10:

AGGR(
	if(
		Rank(
			your_expression * -1
		,4)<=$(vTop10),
		[Sales manger name]
	)
,[Sales manger name])

 

Regards

YoshidaQlik https://www.youtube.com/channel/UC1I9P8MqCZEhB6Nw3FdSqng