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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Guneet_B21
Helper II
Helper II

Count of column by another column in another table

Hi everyone,

I am trying to create a measure to calculate the total number of ShipmentID's against all the Consol IDs.

Kindly help me with the same

 

Tables: 

 

Guneet_B21_1-1692609370243.png 

Guneet_B21_2-1692609395054.png

 

Expected Result

Guneet_B21_0-1692609280877.png

 

4 REPLIES 4
Prateek97
Resolver III
Resolver III

Hi @Guneet_B21 ,

 

Can you please explain on what basis are the two tables connected and how the count is calculated. Because I dont see any common values.

Is it based on the JS_PK Column? If yes, can you please provide the sample data so that I can see the values properly.

Hi @Prateek97 ,

the above 2 tables are just sample tables i created to post the question,

we have a third table which connects these two tables as they cant directly be connected,

therefore the 2 PK columns and the connector is generator directly through our software to create a binding table

Hi @Guneet_B21 ,

 

If the tables are already connected then putting a simple count measure against the ConsoleID column from the connected table should work.

 

If not, please share some good sample data from the 3 tables, that I can copy and try. Please dont share a screenshot.

I am getting the total count in graphs but when im trying to put the count in table it is showing "1" 
i wanna see the total shipments against a particular consol in table

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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