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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!