Forum Discussion

MichaelG_NAC's avatar
MichaelG_NAC
Frequent Visitor
7 years ago
Solved

Creating Roles & Managing

Hello I am looking into creating 4 roles. 3 which can only access certain information and 1 which can access everything. e.g Role 1 = [Name] = "A" Role 2 = [Name] = "B" Role 3 = [Name] = "C" But I am ...
  • v-yuta-msft's avatar
    v-yuta-msft
    7 years ago

    MichaelG_NAC,

     

    Click Modeling-> Manage Roles and create 4 roles using DAX below:

    Role1: Table1[Role] = "A"

    Role2: Table1[Role] = "B"

    Role3: Table1[Role] = "C"

    Role4: Table1[Role] = "A" || Table1[Role] = "B" || Table1[Role] = "C"

     

     

    Create a measure and drag Role and measure to a chart, when you want to apply roles, click view as roles:

    Total = SUM(Table1[Number])

     

     

    Regards,

    Jimmy Tao