Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to filter parent and all child rows in matrix table using status of child rows

Hello,

 

I have this data and I visualized it using a matrix table. 

TransactionInvoiceStatus
NO-11297NO-11297-1Void
NO-11297NO-11297-2Invoice Paid
NO-11297NO-11297-3Invoice Sent
NO-11301NO-11301-1Invoice Paid
NO-11301NO-11301-2Invoice Paid
NO-11303NO-11303-1Invoice Paid
NO-11303NO-11303-2Invoice Paid
NO-11305NO-11305-1Invoice Paid
NO-11305NO-11305-2Invoice Paid
NO-11308NO-11308-1Invoice Paid
NO-11308NO-11308-2Invoice Sent
NO-11309NO-11309-1Invoice Paid
NO-11309NO-11309-2Invoice Sent

 

I am trying to filter the table to show parent transactions + all their child rows if subtotal of COLUMN > 0

Column = IF(data2[Status] = "Invoice Paid", 0, 1)

--> hide all in yellow highlight
cvld_2-1645042495909.png

When trying to use the COLUMN as filter, it only filters those with Invoice Sent or Void values. I need to see all children of these parent transactions

cvld_3-1645088737803.png

 

Thank you in advance!

 

1 ACCEPTED SOLUTION
Jos_Woolley
Solution Sage
Solution Sage

Hi,

Use a measure instead:

MyMeasure1 =
CALCULATE(
    COUNTROWS( data2 ),
    data2[Status] <> "Invoice Paid",
    ALLEXCEPT(
        data2,
        data2[Transaction]
    )
)

Drag it into the filters pane and set it to greater than 0.

Regards

View solution in original post

3 REPLIES 3
Jos_Woolley
Solution Sage
Solution Sage

You're welcome!

 

Cheers

Jos_Woolley
Solution Sage
Solution Sage

Hi,

Use a measure instead:

MyMeasure1 =
CALCULATE(
    COUNTROWS( data2 ),
    data2[Status] <> "Invoice Paid",
    ALLEXCEPT(
        data2,
        data2[Transaction]
    )
)

Drag it into the filters pane and set it to greater than 0.

Regards

Anonymous
Not applicable

Excellent! Thank you so much, i really appreciate it!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.