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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors