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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have 2 tables as data sources which have a many to many both directional relationship between them.
I have created table visual by pulling volumns frol both these tables. I also have certain dropdown filters on the page.
I want to get the count of number of rows for the records visible innthe table visual based on whether the dropdown filters applied. How can I achieve this?
Hi @Vishruti ,
Assume you have two tables:
Table1: Columns: [ID], [Name]
Table2: Columns: [ID], [Category]
Your table visual pulls [Name] from Table1 and [Category] from Table2, you can use this DAX to look like this:
VisibleRowsCount = COUNTROWS(SUMMARIZE(
Table1,
Table1[Name],
RELATED(Table2[Category])
))
Hi @Vishruti
You can create a virtual table mimicking the columns and measures in your table visual and then count the rows that virtual table has. Please see sample below.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 49 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |