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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi Experts,
I am novice to power bi and struggling with conditional subtotals of specific value. For example : On subtotals only total from major fleet and small fleet, not all values.
Hi,
Share the download link of the PBI file.
@vividarinda , Assume Major fleet is in column C1 and you measure is in use is m1
Then have to change the total
Switch(true() ,
isinscope(Table[C1]), [M1],
calculate([M1], filter(Allselected(Table[C1]), Table[C1] ="Major fleet"))
How to Switch Subtotal and Grand Total in Power BI | Power BI Tutorials| isinscope: https://youtu.be/smhIPw3OkKA
Percent of Total and Percent of SubTotal https://www.youtube.com/watch?v=6jTildcV2ho
https://www.youtube.com/watch?v=cN8AO3_vmlY&t=24270s
HI @vividarinda,
I think the issue should be related the expression structures, the marked right brackets should be placed to the end of the formula. (it seems like you have broken the calculate function usages)
Regards,
Xiaoxin Sheng
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.