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

Re: How should create dynamic ranking through Input Control?

$
0
0

Hi Manikandan,

 

For example, I am considering two dimensions Month, Quarter and a measure  called Project Count.

 

 

Step 1: Create the following variables:

               1) Rank = Rank([Project Count]) 

               2) Select Rank = " "

               3) Top 1 = [Rank] Where ([Rank]=1)

               4) Top 2 = [Rank] Where ([Rank]=2)

               5) Input Selection = If ReportFilter([Select Rank])="Top 1" Then [Top 1]

                                            ElseIf ReportFilter([Select Rank])="Top 2" Then [Top 2]

 

Step 2: Create Input control on [Select Rank] object and while creating input control Pass CUSTOM values Top 1, Top 2 into it.

 

 

 

Step 3: Apply filter on Block 1, Right Click on block-- Add filter -- [Rank] object -- Equal to -- 1

            Now, apply hide dimension on Block1, Right click on block -- Hide -- Hide when -- =Not([Select Rank] InList("Top 1"))

 

            Take a copy of Block 1, Edit filter -- [Rank] object -- Equal to -- 2

            Now, apply hide dimension on copy of Block 1, Right click on block -- Hide -- Hide when -- =Not([Select Rank] InList("Top 2"))

 

Step  4:


Viewing all articles
Browse latest Browse all 8720

Trending Articles



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