cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Pat_Da_Cat Frequent Visitor
Frequent Visitor

one of the columns must have unique values

Hi,

 

So I have a lookup table consisting of two columns (Component #, Description) with 220 rows of data that i'm trying to create a relationship with my main dataset, however I keep getting the following error message:

 

Image 1.png

 

I checked the lookup table for duplicates and there are none. Does anyone have any ideas?

 

Thanks for reading.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: one of the columns must have unique values

HI @Pat_Da_Cat

 

Try adding this Column in your MinVit table to identify if there are any Duplicate Components...

 

CalculatedColumn =
IF (
    CALCULATE ( COUNTROWS ( MinVit ), ALLEXCEPT ( MinVit, MinVit[Components] ) ) > 1,
    "Duplicate"
)
2 REPLIES 2
Super User
Super User

Re: one of the columns must have unique values

HI @Pat_Da_Cat

 

Try adding this Column in your MinVit table to identify if there are any Duplicate Components...

 

CalculatedColumn =
IF (
    CALCULATE ( COUNTROWS ( MinVit ), ALLEXCEPT ( MinVit, MinVit[Components] ) ) > 1,
    "Duplicate"
)
Pat_Da_Cat Frequent Visitor
Frequent Visitor

Re: one of the columns must have unique values

Thanks! I missed one double entry.

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 74 members 1,232 guests
Please welcome our newest community members: