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
MrBrodya
Regular Visitor

Looking up a single value based on three filters

Hi Everybody,

 

I am having trouble making the formula work for looking up a single exchange rate value based on three filters with the enclosed table.

 

Currency      Year       Version            Type        Month ExchRate MonthID

USD/JPY151PCURRENTGL_AVGRATEAPR105151PAPR
USD/JPY151PCURRENTGL_AVGRATEMAY105151PMAY
USD/JPY151PCURRENTGL_AVGRATEJUN105151PJUN
USD/JPY151PCURRENTGL_AVGRATEJUL105151PJUL
USD/JPY151PCURRENTGL_AVGRATEAUG105151PAUG
USD/JPY151PCURRENTGL_AVGRATESEP105151PSEP
USD/JPY151PCURRENTGL_AVGRATEOCT105151POCT
USD/JPY151PCURRENTGL_AVGRATENOV105151PNOV
USD/JPY151PCURRENTGL_AVGRATEDEC105151PDEC
USD/JPY151PCURRENTGL_AVGRATEJAN105151PJAN
USD/JPY151PCURRENTGL_AVGRATEFEB105151PFEB
USD/JPY151PCURRENTGL_AVGRATEMAR105151PMAR

 

My formula is as follows:

 

CALCULATE(sum(Curr_Rate[ExchRate]),Filter(Curr_Rate,Curr_Rate[Version]="CURRENT" && Curr_Rate[MonthID]="151PSEP" && Curr_Rate[Currency]="USD/JPY"))

 

Any assiatance would be appreciated.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

works fine for me. see attached. change source value for 151PSEP and it'll reflect in the measure

 

https://ufile.io/poar1

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

works fine for me. see attached. change source value for 151PSEP and it'll reflect in the measure

 

https://ufile.io/poar1

chirayuw thank you!

Stachu
Community Champion
Community Champion

the syntax you posted is correct, as long as the combination of these 3 columns returns only 1 row - is that the case? or does the measure not work as intended?
or do you want this to be dynamic based on the slicer selection rather than hardcoded? 



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

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