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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi, apologies for a newbie question, but just started to use Power BI.
So my challenge is that I have data from two or more tables, and I want to show that data in a chart with a custom filter.
So say I have two tables, "A" and "B". When both "A" and "B" is selected in the custom filter I want the numbers to add up to a total of the two.
But when only "A" or "B" is selected, then of course only show the numbers for the corresponding table.
The chart I had in mind was a bar chart or stacked bar chart, where each of the stacks should be "A" or "B".
Hope this was understandable!
Best regards
Solved! Go to Solution.
Hi @jomikk,
For your requirement, you can add a custom column to get the table count.
Save and apply the changes, then write a measure to summary the column of table.
After above steps you can use slicer and measure to calculate the total selected table rows.
Regards,
Xiaoxin Sheng
Hi @jomikk,
For your requirement, you can add a custom column to get the table count.
Save and apply the changes, then write a measure to summary the column of table.
After above steps you can use slicer and measure to calculate the total selected table rows.
Regards,
Xiaoxin Sheng
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.