The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi Team,
Any one can please help me to acheive below work item ?
I want DAX measure to create a new column Nssr Amount.
Regards,
Maruthi.P
Solved! Go to Solution.
Hi @immaruthi ,
You could refer to the following DAX:
Column =
LOOKUPVALUE('Table'[Amount],'Table'[ID],('Table'[Nssr ID]))
Here is my result.
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
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.
It's working fine. Thanks for your support.
User | Count |
---|---|
71 | |
64 | |
62 | |
50 | |
28 |
User | Count |
---|---|
117 | |
75 | |
61 | |
54 | |
42 |