Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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 |
---|---|
76 | |
76 | |
56 | |
38 | |
34 |
User | Count |
---|---|
99 | |
56 | |
51 | |
44 | |
40 |