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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
ade_kurniawan
Frequent Visitor

How to combine count of 2 categories

Form the table below :

ade_kurniawan_0-1632021072303.png

The output i want :

ade_kurniawan_0-1632021251478.png

Please help, thank you

1 ACCEPTED SOLUTION
ponnusamy
Solution Supplier
Solution Supplier

@ade_kurniawan :  It should be straightforward.  I have two tables 

 

ponnusamy_0-1632022206130.png

 

 

ponnusamy_1-1632022264447.png

 

Have the relationship established , in your case, let us join using the category

 

ponnusamy_2-1632022330918.png

 

Now go to the Report and insert table visual  and pull the following fields

ponnusamy_3-1632022407454.png

 

If this post helps, then please consider Accepting it as the solution, Give Kudos to motivate the contributors.

 

View solution in original post

4 REPLIES 4
ade_kurniawan
Frequent Visitor

I Need More : DAX Table for column count of category1 on Table1 that i give blue square :

ade_kurniawan_0-1632023648085.png

 

ade_kurniawan
Frequent Visitor

thanks very much @ponnusamy 

 

but please tell me how to create New Tables ?

Are you pulling the data from the source?, Data from source usually brought in through tables. You can also use Excel or create a table within Power BI. 

ponnusamy
Solution Supplier
Solution Supplier

@ade_kurniawan :  It should be straightforward.  I have two tables 

 

ponnusamy_0-1632022206130.png

 

 

ponnusamy_1-1632022264447.png

 

Have the relationship established , in your case, let us join using the category

 

ponnusamy_2-1632022330918.png

 

Now go to the Report and insert table visual  and pull the following fields

ponnusamy_3-1632022407454.png

 

If this post helps, then please consider Accepting it as the solution, Give Kudos to motivate the contributors.

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors