Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a LOOKUPVALUE formula that previously worked before I added more 'Years' of data. The formula works by trying to find the a value in a table by looking at a code product code and matching it with the product code in the same row.
However, because I have added more rows of data which has 'duplicate' product codes (as they are from prior years), this has now broken as it obviously there are multiple product codes that are found.
I thought my 'Year' slicer that is related to the main table would allow this column to calculate still as it should be filtering the main table LOOKUPVALUE is searching?
Would a normal measure be better instead and if so, how would I achieve this?
Hi, @TotunG
Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures. I look forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@TotunG , Try like
Max Value = MaxX(Filter('Table','Table'[Product Code]= 'Table2'[Product Code]), 'Table'[Value])
refer 4 ways (related, relatedtable, lookupvalue, sumx/minx/maxx with filter) to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 169 | |
| 109 | |
| 91 | |
| 55 | |
| 44 |