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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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