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
Hi all,
please can you help me with the right syntax?
2 tables: table 1 and table2
for table 2 i need to countrows from table 1 - related table but i need also to include 2 adjust table 1 with 2 filters columnA = 1 && column B = 1
something like this:
Hi,
Share some data and show the expected result.
Assuming that you are using this expression in a calculated column you might be able to do something like the following
CALCULATE(COUNTROWS( FILTER( RELATEDTABLE(table1), table1[columnA] = 1 && table1[column B] = 1))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 35 | |
| 34 | |
| 28 |
| User | Count |
|---|---|
| 136 | |
| 99 | |
| 73 | |
| 66 | |
| 65 |