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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
powerbi_lost
Frequent Visitor

Lookup using DAX

This is the result I am looking for. It's a table visual created in the report view. I want to get the April vaules from the lookup table below and match it for each branch:

powerbi_lost_0-1650595814813.png

 

Lookuptable:

powerbi_lost_1-1650595954926.png

 

I need to lookup the brach from the visual table and get the data for just April in the visual. I need to create a DAX measure since it will help me with other calcualtions that I need to create later on. Any idea how to tackle this problem?

 

Sorry I am a new user to Power BI so I apologize if the explanation isn't that clear.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @powerbi_lost ,

 

According to your screenshot, I know [Branch] and data in each month are in same table. I think you don't need to use dax to lookupvalue in April. You can add [Branch] and [April] columns in table visual and then you can get the result you want. Power BI will lookupvalue automaticlly by context. If you want to calculate [April] by measure, you can try sum function to get summarize value.

April Measure = SUM('Table'[April])

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
PhilipTreacy
Super User
Super User

Hi @powerbi_lost 

 

Your request isn't very clear.  What's the lookup table?  What are you looking up?  How is your data connected?  What does your data look like?  What does your desired result look like?

 

Please provide sample data (not pictues) and show what you want the final table to look like.

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Hi Phil,

I edited my post and I hope it's more clear now. If you want the data I can personally email you the file I'm wokring on. 

 

Thanks. 

Anonymous
Not applicable

Hi @powerbi_lost ,

 

According to your screenshot, I know [Branch] and data in each month are in same table. I think you don't need to use dax to lookupvalue in April. You can add [Branch] and [April] columns in table visual and then you can get the result you want. Power BI will lookupvalue automaticlly by context. If you want to calculate [April] by measure, you can try sum function to get summarize value.

April Measure = SUM('Table'[April])

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.