Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8357

Re: select default value dynamically in an input control

$
0
0

Hi Christian,

 

This may help you.

 

Create two queries.

1) include all divisions and measures.

2) include only default divions for currentuser (you need to filter this in query)

 

Merge division dimensions

3) Create an empty variable [Default Division Input Control]=""

4) Add this as input control with manually entered default value "Default Division"

5) Create a filter variable [Table filter]=If(ReportFilter([Default Division Input Control]="Default Division";1;0)

6) Create 2 charts; one with Division dimension from first query and second chart with Division dimension from second query.

 

In this case your first chart will show all Divisions but second chart will show only default divisions of current user.

 

Dynamically show/hide this charts per [Table Filter] variables value.

7) Right click on table and from context menu select Format table, apply following filter.

 

8) Apply the opposite on second chart.

9) Add your Division dimension as input control.

 

Your report will look like this.

With default selection

 

When all values selected, users will be able select other Division's from other Input Control.

 

 

Hope that helps.


Viewing all articles
Browse latest Browse all 8357

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>