Forum Discussion

Clint's avatar
Clint
Icon for Helper V rankHelper V
7 years ago

Calculating Top N across columns

Hello,

 

I have a datasource that tracks initiatives and the projects that affect each initiative.  Each initiative is a column and each project is a row.  I've been asked to show a Top N (Top 3 Initiatives by count of projects) across these initiatives.  I Is there a way to calculate a Top N across columns w/o modifying the data model?  If not, what is the best practice approach to doing so?

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    hi Clint 

     

    You can try this:

     

    -In the visual level filters on the right side of your report as shown in the screesnhot below:

    -in the BY Value , you can drag the Project field from your dataset and chnage it to count.

    - Change pay plan field to your required field

     

    Hope this helps!

     

    • Clint's avatar
      Clint
      Icon for Helper V rankHelper V

      Hello Anonymous ,

       

      To clarify, I need to calculate the Top N across values in multiple columns, not just one.  I have something like 7 columns representing various attributes and each row in the dataset is a project name.  I need to find the Top N (3) of project name count from all 7 columns; meaning which three 3 columns have the highest number of projects associated to them.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Clint ,

         

        May be you can provide me some sample data to recreate the issue.

         

        Thanks,

        Tejaswi