This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hello, I am attempting to count the total number of rows in a series of related tables. How would I go about creating a calculated column that would calculate the total number of rows in each related table.
E.G. I would like to know how many rows is in each ORDER_DETAILS table.
Solved! Go to Solution.
You can directly add a custom column using Table.RowCount() function to get the row count of each table.
Regards,
You can directly add a custom column using Table.RowCount() function to get the row count of each table.
Regards,
You would probably have to do a count on them separately and then merge them back with the table you wanting to store the information in.
Proud to be a Super User!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 26 | |
| 23 |