Forum Discussion

vjnvinod's avatar
vjnvinod
Impactful Individual
8 years ago
Solved

Graph and visualization help

Hi,   I have a requirement , where my data looks like below   https://www.dropbox.com/s/1n3gtyqxb8wjncn/data.xlsx?dl=0     Account  AccountSegment  TER_FYTD_USD Eig Core 0 Dol Core ...
  • praiselyabraham's avatar
    8 years ago

    Hey , 

     

    So here's what i did, i grouped the the table using edit query, and the group by transformation as shown below.

    Now , on the data modelling section , created two column as below

    Rank= IF([AccountSegment]="Core",RANKX('Account Grouped',[FYTD]))

    and 

    categorize = SWITCH(TRUE(),[RANK]>25, "Remainder",
    [RANK]>10, "Next 15 Core",
    [RANK]>0, "Top 10 Core",
    "G360")

    Now use this categorize column to create the visual.

     

    Hope this servers your need.

     

    Regards.