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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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