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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
hello,
I would like to display a table filtered by the total amount of purchases by supplier (purchases per supplier > 140 thousand)
The columns indicate different offices so that you can see the amount of purchases in each office with a summary column.
When I add the invoice number to the rows of the table (below the vendor number +), the filter refers to the invoice amount and not the total amount by vendor.
How can I create a measure that shows the total amount by supplier regardless of the invoice detail, and perform the filtering according to that measure?
Solved! Go to Solution.
Hi,
I am not sure how your data model looks like, but please try something like below and check whether it suits your requirement.
expected result measure: =
CALCULATE (
SUM ( 'TableName'[InvoiceAmount] ),
ALL ( 'TableName'[InvoiceDetail] )
)
Or,
expected result measure: =
CALCULATE (
SUM ( 'TableName'[InvoiceAmount] ),
ALLEXCEPT ( 'TableName', 'TableName'[VendorNumber] )
)
Hi,
I am not sure how your data model looks like, but please try something like below and check whether it suits your requirement.
expected result measure: =
CALCULATE (
SUM ( 'TableName'[InvoiceAmount] ),
ALL ( 'TableName'[InvoiceDetail] )
)
Or,
expected result measure: =
CALCULATE (
SUM ( 'TableName'[InvoiceAmount] ),
ALLEXCEPT ( 'TableName', 'TableName'[VendorNumber] )
)
Thank you for the quick response and for the simple and elegant solution.
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!