Hi all,
I've got a Power BI report and added a Power Apps canvas app with a connected Power Automate Flow to it to save data back to the data source, and they are working together quite nicely.
But now I've got the following requirement:
I managed to solve that requirement by calling the Flow in the OnSelect of a "single-select" drop down control. It was not "perfect", as the drop down's OnSelect event called the Flow, and I had to show a loading spinner as soon as the user clicked to open the drop down, but it was "acceptable".
But how do I solve that with a multi-select control, like a combo box or a gallery with check boxes? I cannot use the OnSelect event of those controls, as a user should be able to select multiple entries. So for each click it would call the Flow and show a loading spinner.
I thought about adding a "reload" button/icon next to the gallery, but I would consider that "bad design" as I as a user would expect the gallery/combo box items to update automatically when I select the entries in the Power BI report. And my end users also didn't accept that. 😉
Any ideas? Is there maybe a way to solve that with a custom component (PCF)?
I would really love to have an OnChange event on the PowerBIIntegration control 😎
Solved! Go to Solution.
I found a workaround/solution by creating a component. 😊
Steps:
Doing it that way makes it a bit "chatty" as basically every selection change in the Power BI report will trigger a Flow (and thus a Stored Proedure) call, but I didn't find any other solution yet.
I found a workaround/solution by creating a component. 😊
Steps:
Doing it that way makes it a bit "chatty" as basically every selection change in the Power BI report will trigger a Flow (and thus a Stored Proedure) call, but I didn't find any other solution yet.
I know this is a bit old post, but I thought I'd share what I was able to do. It may be a bug in PowerApps, as I stumbled over this by accident, but a combo box OnChange() event is triggered by a change in PowerBIIntegration.Data change. I added a hidden one that set a few variables when it was changed and it's all working well now.
Would you mind explaining what you mean by "Bind" in this circumstance? I have attempted the following with no luck:
"Bind" in this case means assigning PowerBIIntegration.Data to the Input property as you did.
Regarding your second issue, I can only assume from your description. You need to create an output property in your component and assign it the value of your random_number variable inside of the component. And then assign the output property of your component instance to your textbox on the screen.
Thanks ToHe, I appreciate the prompt response.
I am still struggling to make this work.
The end goal I have is to be able to action the formula Reset(combo_box) where combo_box is a Combo Box on the screen, with the effect of a change in the Power BI data resulting in a change in the value of the Combo Box, even if the user has previously edited the Combo Box.
I have a powerapp visual integrated in PowerBI report.
when you select a item from report, the powerapp opens a new form or edit form checking if the row is present in SP list.
Now i have requirement to show Load and Cancel button in place of new form.
clicking on Load - i call power automate and load some values from backend and show Edit form
Clicking on Cancel - I should show NewForm.
So In My Powerapp screen i have these things
SharepointNewForm with btnSubmit
SharePointEditForm with btnUpdate
btnLoad Button
btnCancel Button
On screen visible property
I am setting a context varible UpdateContext({formNew:false})
SharepointNewForm Visible property is formNew
SharepointNewForm Visible = formNew
SharePointEditForm Visible =CountRows([@PowerBIIntegration].Data) = 1 && !IsBlankOrError(LookUp(SPList, ProjID=Text(First([@PowerBIIntegration].Data).ide)))
btnLoad visible = CountRows([@PowerBIIntegration].Data) = 1 && IsBlankOrError(LookUp(SPList, ProjID=Text(First([@PowerBIIntegration].Data).ide))) && !formNew
btnCancel visible = CountRows([@PowerBIIntegration].Data) = 1 && IsBlankOrError(LookUp(SPList, ProjID=Text(First([@PowerBIIntegration].Data).ide))) && !formNew
On Click on Cancel I do UpdateContext({formNew:true}) , Doing this hides my Load and Cancel button and shows user the SharepointNewForm
And then the problem comes here, If user selects a different row in PowerBI report , I again have to show user Load and Cancel button and hide SharepointNewForm
But this is not happening as i have set the UpdateContext({formNew:true}) onselect of Cancel button and I do not have a way to reset to false when there is onchange in [@PowerBIIntegration].Data
So I need to be able to set the formNew variable to False everytime the user is changing a selection in PowerBiReport.
But I should also be able to set formNew variable to true when user clicks Cancel
I used custom component with input property binded to PowerBIIntegration].Data
And output property i set a variable like shown below
if I use custom output property for SharePointNewForm Visible = customProperty1.cusSetVisibilty, I can to set the formNew variable to False everytime the user is changing a selection in PowerBiReport. But I cannot set this to true on click of Cancel button and back to False if user changes selection in PowerBi
There's no direct way to do it. Here's a nifty work around. Create a combo box(you can set the visible property to false if you don't want it messing up your app design). Set it's items property to PowerBIIntegration.Data, and it's default selected property to [first(power integration.data)."any field of your choice.."]. Now on the onchange of the combo box use the functionality you want to change!
Here's a blog explaining the above with diagrams.
Dear Community Members, We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd. During this period, members will not be able to Kudo, Comment, or Reply to any posts. On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities. What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!
We are excited to announce the Summer of Solutions Challenge! This challenge is kicking off on Monday, June 17th and will run for (4) weeks. The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions in the Forums to as many questions as you can. Answers can be provided in all the communities. Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”) - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024 Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods. You must enter into each weekly Entry Period separately. How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different. Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers. At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing. Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner. A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random. Individuals will be contacted before the announcement with the opportunity to claim or deny the prize. Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners. Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event. ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE** Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersNumber of SolutionsSuper UsersNumber of Solutions @anandm08 23 @WarrenBelz 31 @DBO_DV 10 @Amik 19 AmínAA 6 @mmbr1606 12 @rzuber 4 @happyume 7 @Giraldoj 3@ANB 6 (tie) @SpongYe 6 (tie) Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersSolutionsSuper UsersSolutions @anandm08 10@WarrenBelz 25 @DBO_DV 6@mmbr1606 14 @AmínAA 4 @Amik 12 @royg 3 @ANB 10 @AllanDeCastro 2 @SunilPashikanti 5 @Michaelfp 2 @FLMike 5 @eduardo_izzo 2 Meekou 2 @rzuber 2 @Velegandla 2 @PowerPlatform-P 2 @Micaiah 2 Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Apps anandm0861WarrenBelz86DBO_DV25Amik66Michaelfp13mmbr160647Giraldoj13FLMike31AmínAA13SpongYe27 Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Apps DBO-DV21WarranBelz26Giraldoj7mmbr160618Muzammmil_0695067Amik14samfawzi_acml6FLMike12tzuber6ANB8 SunilPashikanti8
On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners. The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights. Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.
We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for. We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer. Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together. Here's to new beginnings and endless possibilities! If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport. To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages