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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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