Struggling to link tables in PowerApps

I’m in the process of building a PowerApp as a proof of concept. I’ve got a browse screen which displays all of my buildings – it’s got the address, building type and building reference so there’s nothing complicated there.

When I go into the detail, I’ve got extra details about the building – things like it’s size, how many rooms, etc. What I’ve also done is add a Gallery to display information about the tenancies which is coming from a table called Tenancy.

Filter(tblTenancy,PropertyId = BrowseGallery1.Selected.'Unit ID'

I’ve then created a new screen because I want to see the details of the tenancy – i.e. the status, the start date, the end date but I also want to see the Client Name. I’ve been able to bring back the Client ID because that’s in the tblTenancy table but I can’t work out how I can get the Client Name.

I have another list called Client and it has 5 fields – Title (which is actually the Client Reference), Name, DOB, Telephone and Gender. As I say, this is a proof of concept.

I’ve tried to set the input with:

LookUp(Client, 'Title' = Gallery1.Selected.'Title').'Name'

but when I preview it just displays that rather than the name of the person. The tenancy details are there – I can see an ID, the start date, end date, status and Client ID but I can’t bring back the name.

I think if I can do that then I’ll pretty much have the app as I want it and add in extra fields but I think I’m not calling on the data in the Client list and/or I’m not joining it with the tenancy table.

Any steer would be greatly appreciated.

1

Review Real Estate Solution Example here, and then check the schema of table Real Estate Property in your developer environment, see how this table and Contact tables are used for the application. Your Property table must have fields like Real Estate Property and Client table must be same as Contact table (definitely add/delete fields in your table as per your requirement). If you want to keep the Tenancy table separate for keeping history of old and new tenancy records then you have to add separate screen in your application.

Also review Property Management Sample app for what I explain above. It will give you good idea.This App is using three collections for Property,Contact and Tenant, see how these collections is used in this application.If your tables are Dataverse tables then you can see table schema of Real Estate Property and Contact tables.

5

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật