Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Solved! Go to Solution.
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
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
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
User | Count |
---|---|
123 | |
70 | |
67 | |
58 | |
52 |
User | Count |
---|---|
183 | |
92 | |
67 | |
62 | |
52 |