The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
I have a matrix with different measures shown as columns and a Product Dim as rows.
I would like to add a subtotal for all the products except "Search" Call it "Recurring Total" then add Search then have the overall total. is there a way to do it? I know I can group all the products in a "Recurring" cat in the product dim table and add it to the matrix as row, but is there a workaround without touching the dim tables? thanks
Solved! Go to Solution.
Hi @Elias-AR
Those extra rows must exist physically in your model as you can't assign a value to a row that doesn't exist - so you either modify your dimension table or create a new one. In the example below, Difference is the delta between the latest and the month before that and is an extra row in a custom dimension table.
A measure is then created that references the Period column in this dimension table returning the value for each period and whethey they should be shown and the Difference depending on the period selected in the slicer. Please see the attached sample pbix.
Hi @Elias-AR
Those extra rows must exist physically in your model as you can't assign a value to a row that doesn't exist - so you either modify your dimension table or create a new one. In the example below, Difference is the delta between the latest and the month before that and is an extra row in a custom dimension table.
A measure is then created that references the Period column in this dimension table returning the value for each period and whethey they should be shown and the Difference depending on the period selected in the slicer. Please see the attached sample pbix.
User | Count |
---|---|
65 | |
62 | |
60 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
47 | |
44 |