web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / LookUp Column gives bl...
Power Apps
Answered

LookUp Column gives blank/empty Data back

(1) ShareShare
ReportReport
Posted on by 42

I have 2 Dataverse tables with a n:1 Relationship:

BaumR_0-1719930708311.png

 

Table "Wohn-Einheit" is connected with table "Bau-Projekt" through a LookUp Column called: "Projekt".

BaumR_1-1719931060204.png

 

In my App i have 2 Comboboxes:

  • EinheitCombobox
    • Items:

 

 

'Wohn-Einheiten'

 

 

  • ProjektCombobox
    • Items:

 

 

Filter('Bau-Projekte'; Projekt = EinheitCombobox.Selected.Projekt.Projekt)​

 

 

BaumR_2-1719931136092.png

The problem now is, that the Values of the LookUp are all Empty. 

Here i'm comparing GUID's but also if i comparing Projektnumbers in Text-Format it isn't working...

BaumR_3-1719931318291.png

 

I also tried it with a variable and the OnChange Action but this is also not working...

 

What am i doing wrong?

Anyone has a idea? Thank you!

Categories:
I have the same question (0)
  • developingteal Profile Picture
    392 on at

    First, I would verify if the rows you are looking for do actually exist. The next step would be to verify the relationships, etc. I don't see anything in particular that seems wrong, just verify that everything does actually exist, as it seems to not give you any error messages, so your code is correct, it is just there is missing access or a relationship.

  • BaumR Profile Picture
    42 on at

    Hi Developingteal,

     

    thanks for your reply. The rows are existing. 

    For example, if i turn it around (Filter "Wohn-Einheiten" based on "Bau-Projekt"), it's working: 

    BaumR_1-1719933316073.png

    Filter('Wohn-Einheiten'; Projekt.Projekt = ProjektCombobox.Selected.Projekt)

     

    And after i saw that this is working, i compared the 2 relationships and saw nothing suspicious; Quite the opposite, the settings of the 2 relationships are totaly the same, except for that the one is 1:n and the other n:1 .

     

    Im totaly confused. Because i used this type of code in another App and it worked till yesterday and now im confused why. Ended up opened this completely new App and tried this with a other tables and as you can see, it's not working and i don't know, what to do next...

  • Verified answer
    developingteal Profile Picture
    392 on at

    sometimes apps has a delay with processing things, so maybe take some time and look at it tomorrow. I think it could be an issue too with that relationship you are describing, power apps typically does not like n:1 and I don't think I have ever gotten an n:1 to work - hence if you have some way to flip it, it might be able to handle it. 

  • BaumR Profile Picture
    42 on at

    No way, you're right!

    I looked again today on my Test-App, didn't made any changes, and today it's working?!

    BaumR_0-1720000678288.pngBaumR_1-1720000705511.png

     

     

     

     

    But unfortunatly for my Main App, there was no miraculous healing for this Issue with n:1 relation. 

    Maybe it's better to look for a work around, to be able to get to the same result with a different approach 🙂

     

    Do you think it can also be that my main App is offline useable?

     

    Do you happen to have an idea?

    Thank you!

  • developingteal Profile Picture
    392 on at

    Yeah I would definitely look for a workaround with the n:1 relationship. That is kind of a theme with powerapps that certain functionalities typical of an typical coded app really don't exist or are not possible. 

     

    Your main app could be offline useable, but I am not really certain so don't take my word for it.

     

    Also mark as solution what worked for you or give a kudos to something that helped you out.

  • BaumR Profile Picture
    42 on at

    Okay, thank you for your help!

  • BaumR Profile Picture
    42 on at

    Hi Developingteal, 

     

    i finaly got the real issue here, why the Combobox.selected can't access the LookUp Column.

    The IsSearchable switched back to false, for it's own... so after i saw that the combobox isn't searchable anymore, i set it to true and the combobox had the weird behaving again. 

     

    So it's because the IsSearchable = true Combobox. When i set the IsSearchable = false it's working totaly fine. 

     

    Do you have a idea, why this is or is this a power apps bug? The best way for me is to use the Searchable function 🙂

    Thank you!

  • developingteal Profile Picture
    392 on at

    I think it could be a feature - I don't know what the lookup function does behind the scenes, but traditionally, it literally functions as a search through all the entries. If you disable the ability to search, then you aren't able to use a lookup. Does that make sense?

  • BaumR Profile Picture
    42 on at

    I finaly got a solution for this:
    PowerApps was very buggy and like i said, it gave me the Record but without any data in the other columns.

     

    My workaround was now, that i declared a variable in OnChange which will LookUp the selected Record with the GUID (Which was the only column, beside the displayed column of the Combobox).

     

    But thank you for your help! Appreciate it 🙂

  • developingteal Profile Picture
    392 on at

    No problem - glad it was resolved!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard