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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Sudharsanan
Helper III
Helper III

Populating the value once when there is duplicate.

Hi friends,

 

I need some help in achieving the below using DAX. Table 1 is with Unique ID and table 2 is with duplicated ID, so i want to pull the value from Table 1 where i need to populate the value only once when there is duplicate ID's.

 

Table 1

IDValue
A2
B4
C5
D6
E7
F9

 

Table 2

IDValue
A2
B4
B 
C5
D6

 

Thanks in Advance

3 REPLIES 3
eTribble
Advocate II
Advocate II

IDK if i would do that with dax, I would just do it in the power query editor, and remove duplicates.

Is there a particular reason you would want a blank value with a duplicate ID?


eTribble
Advocate II
Advocate II

Im not sure im understanding what you want, but if I had to guess...

Your wanting to Pull the value for B in Table 2 Since it has a duplicate ID (B) in it?

So your end result would be 4?

Or what is your expected output supposed to look like?

@eTribble Thanks for the quick turn

 

Yes you are right. When i have a duplicate id i need to have the value for first id and the remaing should be blank.

this is my expected result

IDValue
A2
B4
B 
C5
D6

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.