Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi!
I have two tables in my report and a slicer being applied to only one of them.
How can I calculate the total amount of the two tables when the slicer is applied?
Thank you
Create a Measure that simply sums the two values:
My Double Sum = SUM (tableA) + SUM(Table B)
If one table is 'filtered' in context, it will affect that measure
Proud to be a Super User! | |
I didn't explain my problem correctly, sorry.
If applied, the filter will interact with both tables. But in one of my table visuals I disabled the interaction of the slicer with that visual.
I want to replicate that behaviour in my measure.
Break the two measures out, then bring them back together. This makes it easier to verify:
Measure 1 = SUM ( table1[FieldX] )
Measue 2 = CALCULATE ( SUM ( Table2[fieldy] ), ALL (<Table and field that you don't want to affect this measure> ) )
Total Measure = [Measure 1] + [Measure 2]
Put all 3 on a page, with the slicer and see how they respond.
Proud to be a Super User! | |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
78 | |
75 | |
58 | |
36 | |
33 |
User | Count |
---|---|
100 | |
62 | |
56 | |
47 | |
41 |