Forum Discussion

mithiladas02's avatar
mithiladas02
Helper I
4 years ago
Solved

calculated column

Hi,    I have dataset like below.here i mention for few source name. In  my actual dataset its more then 150 row. My client want to see some particular source name for each source category remain n...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi  mithiladas02 ,

    Here are the steps you can follow:

    1. Create calculated column.

    New Sources =
    IF('Table'[Source Category]="Job Boards"&&'Table'[Source] in {"Dice","Boss","Job Street"},
       'Table'[Source],
    IF('Table'[Source Category]="Social Media"&&'Table'[Source] in {"Instagram","Linkdin"},
      'Table'[Source],
    IF('Table'[Source Category]="Sources","Sources ALL",
    IF(
        'Table'[Source Category]="Job Boards","Job board others","Social Media Others"
    ))))

    2. Result:

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly