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 / Copied App not working...
Power Apps
Unanswered

Copied App not working (Power BI Integration - Sharepoint Lists as data - Should work inside Power BI)

(0) ShareShare
ReportReport
Posted on by 2

Greetings. 

I have an app, that is designed to work inside Power BI (Power App visualisation). 

It is quite simple in what it does: It reads an entry in a specific sharepoint list and allows the user to edit the entry, saving the new entry. The entry is a comment on a specific report. The report is chosen from another list via dropdown or filter.

The original app works just fine.

I then made a copy of the app on the Power App platform and changed nothing. The plan is to keep the original app intact and then make changes in the copy, using that in my live mode. However, while the app can still read the data perfectly, whenever I try to save the new copy, nothing happens. 

How come the code suddenly doesn't work in the copy, when it works perfectly in the original app?

Any suggestions?

 

Thanks in advance.

Doge.

Categories:
  • WebPortal Profile Picture
    2,297 on at

    @Dogecheck the connections to the data source on the "copy-app".

    Try to remove and add them back again.

  • Doge Profile Picture
    2 on at

    Thank you... I did that and it didn't work. 

    Since the app can read the data, when placed in a Power App visualization, I'm guessing that that isn't the issue. 

    Nothing happens, when using the save-button. 

    This is the code for the OnSelect action. It works flawlessly in the original app and not at all in the copy.
    When I removed and reapplied the connections, I also reapplied the connection name "Power BI Commentary" in the code... But still nothing,.

    If(
    IsError(
    Patch(
    'Power BI Commentary';
    If(
    !IsEmpty(
    Filter(
    'Power BI Commentary';
    Report.Value = ComboboxCanvas2.Selected.Title
    )
    );
    LookUp(
    'Power BI Commentary';
    Report.Value = ComboboxCanvas2.Selected.Title
    );
    Defaults('Power BI Commentary')
    );
    {
    Report: {
    Id: Int(ComboboxCanvas2.Selected.Id);
    Value: ComboboxCanvas2.Selected.Title
    };
    Comment: RichTextEditor1.HtmlText
    }
    )
    );
    Notify(
    "Kommentaren kunne desværre ikke gemmes/oprettes. Prøv igen senere";
    NotificationType.Error
    );
    Notify(
    "Kommentaren blev gemt/oprettet";
    NotificationType.Success
    )
    )

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard