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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Power BI newbie query

I have 2 excel sheets as data feeds into my BI desktop UserCost which only has 2 columns Power and Standard each containing a specific value. I want to search the users table and when the licence type value is power return the specific value in UserCost Power?

 

Help

 

1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi, @Anonymous 

According to your description, do you want to LookUP the data of another table based on a relationship in another table?

If this , you can try to use the LOOKUPVALUE() function or FILTER() + MAXX() function to try to realize it .

For more information, you can refer to :
LOOKUPVALUE – DAX Guide

 

 

According to your description, it is difficult to provide you with Dax code directly without your table structure and test data.

If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

Hi, @Anonymous 

According to your description, do you want to LookUP the data of another table based on a relationship in another table?

If this , you can try to use the LOOKUPVALUE() function or FILTER() + MAXX() function to try to realize it .

For more information, you can refer to :
LOOKUPVALUE – DAX Guide

 

 

According to your description, it is difficult to provide you with Dax code directly without your table structure and test data.

If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.