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
immaruthi
Regular Visitor

How to get an amount value based on their dependent id ?

Hi Team,

 

Any one can please help me to acheive below work item ? Question1.jpg
I want DAX measure to create a new column Nssr Amount. 

 

Regards,

Maruthi.P 

1 ACCEPTED SOLUTION

Hi @immaruthi ,

 

You could refer to the following DAX:

Column =
LOOKUPVALUE('Table'[Amount],'Table'[ID],('Table'[Nssr ID]))

Here is my result.

1-1.PNG

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

Try

NSSR Amount = minx(filter(table,table[ID]=earlier(table[NSSR ID])),table[Amount])

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks for your reply. I am getting an error like -> 'Earlier/Earliest' refers to an earlier row context which doesn't exist.'

Hi @immaruthi ,

 

You could refer to the following DAX:

Column =
LOOKUPVALUE('Table'[Amount],'Table'[ID],('Table'[Nssr ID]))

Here is my result.

1-1.PNG

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

It's working fine. Thanks for your support. 

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