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
OrionTL
New Member

Perform a Count of each matrix subitem where it meets a criteria within another table

I have a matrix breaking down the categories of vehicle types and their subitem when "Expanded" based on TableA. I have a value column showing how many of those particular vehicle is on order based on the sum of TableB with all the order details. Both tables have a relationship based on a single unique column tying their Category-Subitem types. I'm trying to get the count of "how many orders were fulfilled" as shown on the last column of the picture of the table below 

 

TableA:

OrionTL_0-1670173074389.png

 

TableB:

OrionTL_1-1670173085928.png

 

Needed Output:

OrionTL_0-1670172492959.png

 

Thank you for your help!!

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @OrionTL ,

 

You can achieve this directly by using the data of TableB:

vjianbolimsft_0-1670204131042.png

Output:

vjianbolimsft_1-1670204146367.png

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-jianboli-msft
Community Support
Community Support

Hi @OrionTL ,

 

You can achieve this directly by using the data of TableB:

vjianbolimsft_0-1670204131042.png

Output:

vjianbolimsft_1-1670204146367.png

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Kudoed Authors