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 moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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 |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 36 | |
| 32 | |
| 25 | |
| 23 |