Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

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

 

  • 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

     

1 Reply

  • 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