Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 47 | |
| 45 | |
| 33 | |
| 33 | |
| 30 |
| User | Count |
|---|---|
| 136 | |
| 116 | |
| 58 | |
| 58 | |
| 56 |