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 / Read and Write SQL Dat...
Power Apps
Unanswered

Read and Write SQL Data Source Different - SQL Server with Power BI Integration

(0) ShareShare
ReportReport
Posted on by 18

Hi Everyone,

 

Hoping to find solution like my last post

 

Below is the snip of prototype i am working on. I have a form in Power BI and i want the users to edit the record whichever they select or create a new entry when they choose New Button.

 

Currently Dropdowns and Table are reading from same SQL Table except for Strain Dropdown.

 

I changed the "items" property drop down to Distinct('dbo.ProductDetails' , StrainName), so that it reads from another table.

I have 2 problems with this approach -

1) when i choose an Existing record in Power BI table this value is not getting populated

2) Only 2 records are being pulled from Database for Strain Column , though i haven't restricted anywhere

 

SG202311_0-1700609752721.png

 

 

End Goal - I need to Create Dependent Dropdowns which are reading from different tables. Each Dropdown has its own source or in some cases 2 dropdowns read from same table.

 

Read Tables and Write tables are different. On Submit form I want to submit values into a different table. How do i configure it?

 

Any help will be greatly appreciated

 

Thanks in Advance

SG

 

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @SG202311,

    To populate the Strain dropdown, you need to set its Default property as:

    LookUp('dbo.ProductDetails' , StrainName=Gallery.Selected.Strain)

    Since you have set its Items with another table, you need to retrieve this value from the 'dbo.ProductDetails'.

  • SG202311 Profile Picture
    18 on at

    This doesn't work ..

    Below is the error i get. Screenshot shows the actual table name which i have renamed to dbo.ProductDetails in the post

     

    SG202311_0-1700868608915.png

    Also I do not have any Gallery defined. All i have is these 

     

    SG202311_1-1700868685446.png

     

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @SG202311,

    Gallery.Selected could be replaced with the formula you set for the Item property of the form.

    So, replace it and specify the Strain field.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 305 Most Valuable Professional

#2
11manish Profile Picture

11manish 212

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard