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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ashraf_mohammed
New Member

Relationship Support

Hello Team, 

 

I am struggling with the relationship mapping. Need your support please.
I am unable to use some dax formulas as i believe there is some relationship issue. 

 

Total Hired Saudis in Saudi Arabia =
CALCULATE(
COUNTROWS('Max Status MaxDate AppID'),
'Job Application Details'[Nationality] = "Saudi" &&
'Job Requistion Details'[PwC Location] = "Saudi Arabia" &&
'Max Status MaxDate AppID'[Max Status] = "Hired"
)

 

I have 4 sheets in exel, Table 1 ""Max Status MaxDate AppID" which has 3 columns applicationid,MaxDate & MaxStatus
Table 2: Columns in the table "Job Application Details" are as follows, applicationid, gender, jobReqid, Nationality, SAVILLE Assessment, Current Employer
Table 3: "Job Requisition Details" has the following columns, jobReqId, Grade, PwC Location, Business Unit & Employee Type.
Table 4: Targets by Business Unit has 2 columns Business Unit & Target Offer Accepted

Table Max Status MaxDate AppID is linked to Job Application Details on many to one & cross function direction as single using the columns or unique id "applicationid". Then table job application details is linked to job requisition details using the column or unique id "jobreqid" using many to one & cross function direction as single. Then table job requisition details table is linked to table target by business unit using the unique column "Business unit (text format)" on many to one & cross fucntion as single.

 

I beleive i am doing something wrong. How can i attach the dataset & pbix file here. Need some urgent support please. 

 

Thanks,. 

 

 

2 REPLIES 2
ashraf_mohammed
New Member

1.PNG2.PNG3.PNG4.PNG5.PNG1.PNG2.PNG3.PNG

Anonymous
Not applicable

Hi @ashraf_mohammed ,

Can you please share some dummy data that keep the raw data structure instead of screenshots? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Notice: single direction mode relationship filter effects only work on one side.

Create and manage relationships in Power BI Desktop - Power BI | Microsoft Learn

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.