Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I have two tables, Invoices and Products. Each Invoice can have any number (1-n) products. Each product has a tag 'Renewal' or 'New', representing the kind of business they are.
I use a third table to allow the user to choose which to see - Renewals or New. Taking into account the value they've chosen, I create a string containing only the applicable products for each invoice, and display the invoices and their corresponding products in a table.
I have a measure that is assigned a value based on a complex filter, which takes into account which of two settings the user has selected as well as the created string, and comes up with a cost for the invoice, including only those products applicable given the user's choice (Renewals or New). I then display this cost on the same row as the invoice. So if the user changes his selection, for each row in the table, the products shown and the cost will both change, including only those products that match the selection.
But I need to be able to show a total value of all of the values shown. How do I sum the measure? If I drag it to the visual, it just shows me one of the figures that are in a row.
Hi @Budfudder,
Please have a look at this article:
Best regards,
Yuliana Gu
Hi @Budfudder
Try this pattern
SumofMeasure =
SUMX (
ALLSELECTED ( TableName[Column_For_Which_Measure_Needs_TO_B_AGRREGATED] ),
[Measure]
)
Unfortunately that didn't work. The result is the same as the cost for each particular row - it's not totalling.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 50 | |
| 46 | |
| 41 | |
| 39 |