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! Get ahead of the game and start preparing now! Learn more
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!