Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
84 | |
69 | |
68 | |
39 | |
37 |