Dataview - how to table duplicate tag in various sections in a single MD file

What I’m trying to do

I have an md file capturing summary of a number of projects, including status. I’m trying to create a dataview table to list the Project Name (md heading level 1), and the Project Status, currently using tag status::xxx.

Sample below


# Project 1

# Project 2

Things I have tried

I have tried a number of dataview search patterns but didn’t have much luck - including FLATTEN file, TABLE WITHOUT ID, etc.

Some help would be much appreciated. Thank you.