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 / Load existing Power BI...
Power Apps
Unanswered

Load existing Power BI dataset into a Power Apps collection

(0) ShareShare
ReportReport
Posted on by 158

Hello all, I have a flow within a PowerApps that's working but I can't get the JSON to load into a collection, I followed a solution that uses a join action in power automate and then a Split function in powerapps but I get errors and can't resolve them. At this point I can get the output in a variable in one long string and want to know if there is a better approach in the flow. I don't have permission to the setting to turn on the parse Jason feature. My output looks like ("MyData": "{\"ID\":\"408\",\"Entity\":\"Department of\",\"Analyst\":\"Martinez\",\"Level\":\"MEDIUM\",\"State\":\"False\"};{\"ID\":\"409\",\"Entity\":\"Department of\",\"Analyst\":\"Jones\",\"Level\":\"MEDIUM\",\"State\":\"False\"})

PbiFlow.png

 

Thanks for any help

Categories:
  • rixmcx59 Profile Picture
    158 on at

    after much frustration, (I don't have access to the "Upcoming Features, so I could not use ParseJSON function), I modified the code below by replacing "Result" with "Value". Several posts and videos used "Result" but I got a "Name not Valid" error when I used it. With my limited skills, I have no idea how they used "Result" successfully. Anyway, it's working great and I am using a Power BI dataset to populate a Powerapps collection. Also, in the ForAll, I used varResonse not varResonse.Result.

     

     

    ForAll(varResponse.Result,
     Collect(cityCollection,
     {
     ID:Last(FirstN(Split(Last(FirstN(Split(Result,",").Result,1).Result).Result,":").Result,2).Result).Result,
     City:Last(FirstN(Split(Last(FirstN(Split(Result,",").Result,2).Result).Result,":").Result,2).Result).Result

     

     

     

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @rixmcx59 ,

     

    It's is a legacy of history.

    Previously, the column generated by the split function was called 'Result' and now it's called 'Value'.

    Hope it helps.

     

    Best Regards,

    Wearsky

  • rixmcx59 Profile Picture
    158 on at

    Thank you for that information, good to know. any ideas how I can include my Notes field, the formula above works fine until I try to apply it to the notes field, then it throws the entire collection off, the functions parse the notes and populate other fields with notes string parts.

     

    Thanks

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 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard