Currently, I'm using the Power BI Designer (newest version). I'm completely new to it. I'm wondering how to get the subtotal of a group of items and then get the report grand total. I only need the subtotal for one column (ie. price). The grouping will be on 3 columns (date, location, itemname).
Power BI is connected to a Azure SQL database (not SSAS).
Update: Matrix is now supported in both Power BI Desktop and PowerBI.com.
Just add the 3 levels of grouping and the measure you want. The subtotals will show no problem.
As Lukasz suggesting, You can use Matrix visual in Power BI for achieving this requirement.
Find the option to enable/disable Sub-Total and Grant Total option in Format tab of the matrix visual.
Sample Matrix visual,
Some of the Matrix visual features are explained below,
Drill Up – drill upper level after you drilled down Click to turn on
Drill down – Turn on Drill down for drilling specific hierarchy
Go to next level in the hierarchy – Parallel hierarchy drill down
Expand all down one level in the hierarchy – Level by level hierarchy
drilling
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With