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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Ramyzo
Helper II
Helper II

Count in 2 related tables

Greeting , 

 

i need a trick on Power BI with MDX. so i get 2 tables : Offer and appliaction 

 

Ex : 

Table Offer (offer ID , Offer Description ) :                                    Table Application (Offer ID ,  Candidat name )  : 

 

1 :OfferA                                                                                            1:Jason 

2: OfferB                                                                                             1:Tatum

3:OfferC                                                                                              1:Kyrie

4:OfferD                                                                                              2:Lebron

 

Ok so let's say i have those 2 tables first one contain offer ID's + description and second one contain the job ID + the candidat name 

I wanna get the numbers of offer that dont have a candidat yet ! in this example the result will be 2 ! ( Offer C and offer D )

 

Thanks in advance ! 

1 ACCEPTED SOLUTION
kentyler
Solution Sage
Solution Sage

I copied your tables to excel and then imported them to power bi OfferAndApplication.png

The form a simple star schema, with application as the fact table and offer as the dimension

I put field values on a matrix and added a single line calculated column to count the number of offers that had related applications.

The offers that have no applications show clearly.

offerAndApplicationReport.png

 





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


View solution in original post

1 REPLY 1
kentyler
Solution Sage
Solution Sage

I copied your tables to excel and then imported them to power bi OfferAndApplication.png

The form a simple star schema, with application as the fact table and offer as the dimension

I put field values on a matrix and added a single line calculated column to count the number of offers that had related applications.

The offers that have no applications show clearly.

offerAndApplicationReport.png

 





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


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.