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 / Extract data from SP L...
Power Apps
Answered

Extract data from SP List into Html File

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I've already began the process of extracting data from my sharepoint onto an html and csv file like to one see in the eample here.

I am having trouble extacting data when the data captured is somewhat similar to a multi-checkbox.  I want to pull the value from the array something similar to what is seen here

 

Does anyone know how to pull the information if there can more than one value?

Categories:
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Could you please share a bit more about your scenario?

    Do you want to extract data from SP list into HTML file using PowerApps?

     

    I assume that you use PowerApps to extract data from SP list into HTML File, is it true? If you generate an app from your SP list, the multi-value column (e.g. Choice type column, which enable multiple selections) would be decorated as a Combo box control within your app.

     

    If you want to pull data from a Combo box control (enable multiple selections), you could consider take a try to concatenate these values within the Combo box control into a single one string value (using Concat function).

     

    I have created a SP list as below:8.JPG

    Note: The Category column is a Choice type column, which enables multiple selections option.

     

     

    I have made a test on my side, please take a try with the following workaround:1.JPG

    In order to pull data from above Combo box control (DataCardValue8) and concatenate these selected values into one tring value, please take a try with the following formula:

    Concat(DataCardValue8.SelectedItems,Value&"|")

    Note: The DataCardValue8 represents the Combo box control. 

     

    More details about the Concat function in PowerApps, please check the following article:

    Concat function

     

     

    In addition, if you want to achieve your needs using Microsoft Flow, you must concatenate the multiple options within the Multiple value column (on my side, it is Category column) into one string value firstly. I have made a test on my side, please take a try with the following workaround:2.JPG

     

    3.JPG

     

    4.JPG

     

    5.JPG

     

    Within the "Compose 2" action, type the following formula:

    concat(items('Apply_to_each_2')?['Value'],' | ',variables('CategoryString'))

    Within the "Compose" action, type the following json formula:

    {
     "CourseName": @{item()?['CourseName']},
     "Teacher": @{item()?['Teacher']},
     "Category":@{variables('CategoryString')}
    }

    Within "Set variable 2" action, Value field set to null expression.

     

    The flow works successfully as below:7.JPG

     

    6.JPG

     

     

    More details about using expression in flow actions, please check the following article:
    https://flow.microsoft.com/en-us/blog/use-expressions-in-actions/

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am still having a little bit of trobule.  I nstead of it printing the valeus for the selected response, it will print every option available in the multi-select.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am still having a little bit of trobule.  I nstead of it printing the valeus for the selected response, it will print every option available in the multi-select.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard