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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Syndicate_Admin
Administrator
Administrator

Bring maximum value according to another row

Hello everyone

I tell you that I have a model which reads weekly excel files, so the information is changing

the problem I have is as follows

This changes by week, suppose the first value is from week 1 and I need to read the last one that is from week 5. create a function that will bring me the most current week but still when trying to use the VLOOKUPVALUE function but it tells me that several values are provided where only one was expected and it is logical since there are 2 different values, attached referential image of the values (TS Port1)

PVVBl00_0-1662654982897.png

How can I read them?

Thank you very much in advance ❤️

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Syndicate_Admin ,

 

Use calculate max instead of lookupvalue

column = calculate(max(value),filter(...))

 

Best Regards,

Jay

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Syndicate_Admin ,

 

Use calculate max instead of lookupvalue

column = calculate(max(value),filter(...))

 

Best Regards,

Jay

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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