Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi all.
I'm trying to get a value from another row based on a value within the current row.
I have the following:
Tablename: Subgroup
| WKYR | TY | LY | LASTWKYR | 
| 202033 | 1000 | 201933 | |
| 202133 | 3200 | 202033 | 
Essentially I'm trying to make the LY column in the 202133 row pull the 1000 into it based on the 202033 value in both WKYR and LASTWKYR, with a fall back to 0 if there is no value for it to look up, which in this table would result in LY in the 202033 row be 0. 
I've tried: 
Tablename: Subgroup
| WKYR | TY | LY | LASTWKYR | 
| 202033 | 1000 | 0 | 201933 | 
| 202133 | 3200 | 1000 | 202033 | 
Solved! Go to Solution.
Haven't you just got your second and third arguments the wrong way wrong?
LY =
LOOKUPVALUE ( Subgroup[TY], Subgroup[WKYR], Subgroup[LASTWKYR], 0 )Regards
😁Not quite time for the pub yet!
Haven't you just got your second and third arguments the wrong way wrong?
LY =
LOOKUPVALUE ( Subgroup[TY], Subgroup[WKYR], Subgroup[LASTWKYR], 0 )Regards
Well now I feel dumb, thanks Jos!
(I blame it on a bad case of the Fridays!)
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | 
| User | Count | 
|---|---|
| 23 | |
| 13 | |
| 11 | |
| 10 | |
| 9 |