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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
IvanS
Helper V
Helper V

Issue with relationship between 2 calculated columns

Dear all,

 

I am struggling with creation of relationship between 2 calculated columns.

 

I have 2 tables: 

pbi DIM_EIPA_Connectors (dimension table)

pbi FACT_EIPA_Connectors (fact table)

 

In both tables I have created unique identifier using calculated columns - the function is using column index to add a suffix in order to ensure that the entries are unique.

Connector_ID =
'pbi DIM_EIPA_Connectors'[data.id]
&
RANKX(
FILTER('pbi DIM_EIPA_Connectors',
'pbi DIM_EIPA_Connectors'[data.id]=EARLIER('pbi DIM_EIPA_Connectors'[data.id])
),
'pbi DIM_EIPA_Connectors'[Index],,ASC)

 

 IvanS_0-1641916611444.png

Now, I have removed all relationships that might impact those 2 tables. Then I am trying to create the relationship between those two columns.IvanS_2-1641916955845.png

 Following is the error - I would expect to have one-to-one relation or (one-to-many/many-to-one) but there is issue with all types of relation incl. many-to-many.

 

IvanS_3-1641917643654.png

I exported the data into excel to check if there are any duplicates or blank values but there isn't any.

 Any help is much appreciated!

Ivan

 

1 ACCEPTED SOLUTION
smpa01
Super User
Super User

@IvanS  if you are absolutely sure that there are only a single instance, then blank values are driving that Cardinality (Many to Many)

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

View solution in original post

3 REPLIES 3
smpa01
Super User
Super User

@IvanS  if you are absolutely sure that there are only a single instance, then blank values are driving that Cardinality (Many to Many)

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

You are right, I oversee the blank entries. 🙂 Thank you for help!

Blank values in dim or fact table?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors