Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi,
Is there a way to return in a table the number of rows of each queries ?
I want to have the result displays in the pane in a single report.
Is it possible ?
Number of rows for each query
Ok, I can create a group by query for each query but it's a waste of time.
Solved! Go to Solution.
you can do it with #shared, you will just have to filter your queries in #"Filtered Rows"
let Source = #shared, #"Converted to Table" = Record.ToTable(Source), #"Filtered Rows" = Table.SelectRows(#"Converted to Table", each ([Name] = "D35" or [Name] = "D39")), #"Added Custom" = Table.AddColumn(#"Filtered Rows", "NrOfRows", each Table.RowCount([Value])), #"Removed Other Columns" = Table.SelectColumns(#"Added Custom",{"Name", "NrOfRows"}) in #"Removed Other Columns"
you can do it with #shared, you will just have to filter your queries in #"Filtered Rows"
let Source = #shared, #"Converted to Table" = Record.ToTable(Source), #"Filtered Rows" = Table.SelectRows(#"Converted to Table", each ([Name] = "D35" or [Name] = "D39")), #"Added Custom" = Table.AddColumn(#"Filtered Rows", "NrOfRows", each Table.RowCount([Value])), #"Removed Other Columns" = Table.SelectColumns(#"Added Custom",{"Name", "NrOfRows"}) in #"Removed Other Columns"
Thanks @Stachu
I knew #shared to display all the functions but I didn't know this function display also the current queries.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.