Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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!
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 20 | |
| 19 | |
| 11 |
| User | Count |
|---|---|
| 65 | |
| 54 | |
| 46 | |
| 44 | |
| 31 |