cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ArcherJayden17
New Member

PowerBI Integrated Multiple Tables PowerApps

Hi ,

I am working on PowerBI Integrated PowerApp with On Premise SQL server being the destination/underlying server.

I have two sections/two visuals where I need to enable CRUD operation directly from PowerBI Dashboard. Lets Say two sections are 1)Takeaways- SQL table

2)Actions - SQL Table

I have been able to design Takeaways quite okay with Insert/Read&Update Operations however when I am trying to drag and drop fields from Actions table into PowerApps Visual from PowerBI dashboard it just doesn't allow me. It throws this error below however both tables have primary key(id) and I can join them in SSMS and view data even though result set is a Cartesian Product

Can't determine relationships between the fields
Can't display the data because Power BI can't determine the relationship between two or more fields.
Please try again later or contact support. If you contact support, please provide these details.
Activity ID: 77df593f-7710-4435-913f-44242122b693
Request ID: 61500fb3-6f84-9925-fde8-4b4e7fdddfaf
Correlation ID: 216b924f-146b-3e83-f677-97a560f6a307

 

I want to create one app which will display data for both tables for read & update operations.

I am able to include Insert(Edit Form) for Actions table connecting to SQL table which is straight forward however I want to bring data from PowerBIIntegration.Data for both Comments & Actions so that I can provide individual screens for display and edit forms ... You may refer to attached screenshot for what I am trying to achieve

 

Please guide me and let me know of a hack from your expertise

thanks in Advance

PowerApp.JPG

3 REPLIES 3
estieg
Microsoft
Microsoft

Thank you for your question!  I've asked a few members of the community to review your post and respond if they have suggestions for you.

 

Thank you and have a great day!

 

Eric

mwegener
Helper II
Helper II

Hi @archerjayden ,

 

can you share more information & screenshots about your Power BI data model and the error message?

 

Hi,

This works by applying correct relationships however by design of the table structure and architecture of our DB, we get duplicates in either of the apps... So I have done two apps for each and used them in PowerBI report. It works but not elegant 

Thanks

ANS

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (29,498)