Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Lookup a value in another Table (no Releation)

Hello everyone,

I am currently sitting at the following problem.

I have two tables, which are not related in Power BI Desktop.

Table_InputCloud and Logos

In Logos I have included a link for the logos of Amazon, Google and Microsoft. These are again deposited there where the logos are greyed out. Six links in total stored in my OneDrive.

 

I'm trying to build a measure which checks at Table_InputCloud if the value is 1 and if TRUE takes the link of a logo which is not grayed out, if FALSE then takes a grayed out image.

To be honest, none of my solutions get me any further. I tried LOOKUPVALUE but failed there too. I lack the Know How to build up the Measure correctly. Maybe someone here has an idea to help. Is it mandatory that I have a realtion between Logos und Table_InputCloud?

 

KR

(attached some pictures) 

 

No Releation between Logos and Table_InputCloud

Table_InputCloud

 

Logos

  

2 Replies

  • Anonymous , example  lookup one table to another

     

    Copy City without using related from 1-M side
    City Name = maxx(FILTER(geography,geography[City Id]=Sales[City Id]),geography[City])

     

    from M to 1, you add filters based on need

    City Name = sumx(FILTER(sales,geography[City Id]=Sales[City Id]),sales[Amount])

  • v-alq-msft's avatar
    v-alq-msft
    Icon for Community Support rankCommunity Support

    Hi, Anonymous 

     

    Could you please show us some sample data and expected results with OneDrive for Business? Do mask sensitive data before uploading. Thanks.

     

    Best Regards

    Allan