Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi all,
need some guidance… I have created a table with two columns: one is Branch ID and second is a measure Total_points = SUM(taskai[Final_points]) which sum all points in all branches. Now i need to add another column which shows me value based on measure Total_points. I think SWITCH function should solve my problem. So I have created new column with Bonus = SWITCH(TRUE(),[Total_points]>1,100,50), but when I add this column to visualization he expand my table and shows multiple rows of same branch, but with different Total_points. What Imdoing wrong? Final result should be: one branch id, one total point row and one bonus row for summed total points.
Solved! Go to Solution.
@Daniel_Fdrvc , I doubt you created a new column. Create as new measure
Bonus = SWITCH(TRUE(),[Total_points]>1,100,50)
Hi, @Daniel_Fdrvc
Is “SV ID” in the first picture equal to “Branch ID”? Can you provide a sample removing sensitive data or describe the situation of the tables in your model in more detail?
Best Regards,
Caiyun Zheng
@Daniel_Fdrvc , I doubt you created a new column. Create as new measure
Bonus = SWITCH(TRUE(),[Total_points]>1,100,50)
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 84 | |
| 49 | |
| 36 | |
| 31 | |
| 30 |