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 Pages
Answered

Image and data type

(0) ShareShare
ReportReport
Posted on by 44

Hello expert,
I format my cell to "date" and then make it into the table. When I use excel as the data source in power apps, the data type still shows "string." How can I change the data type to date?

My excel format is general and starts with HTTPS...end with png. When I use it as the data source for the gallery, it shows the URL instead of the image? How can I make it to an image?

data type.PNG
Image appear as url.PNG
Categories:
I have the same question (0)
  • Verified answer
    Christian Leverenz Profile Picture
    1,214 on at

    @Beatrix1 ,

    could it be, that this question belongs more to "power apps" than to "power apps portals"? If yes, you accidentiylly postet this in the wrong group. You may get faster support in the power apps group instead.

    If this is the right group, you may be explain a little bit more the problem 🙂

    Have fun,

      Christian

  • Beatrix1 Profile Picture
    44 on at

    Yes, you are correct. Thanks, Christian. So sorry for posting on the wrong platform

  • Christian Leverenz Profile Picture
    1,214 on at

    @Beatrix1 , no problem, its important that you get support from the community - ciao, Christian

  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @Beatrix1 

     

    you can set your excel column to date format. EX: "d/m/yyyy" only date.  Once done you need to drop the connection and reconnect again in powerapps. Now you can see the updated column data type. 

     

    Step 1: Add the relevant column name in the gallery. Ex: Date column 

    Step 2: Select the field and in the formula bar and add the following formula: 

     

    Text(ThisItem.Date, "[$-en-US]dd/mm/yyyy")

     

    ragavanrajan_1-1638179291234.png

     

     

    2) For loading hyperlink as the picture. All you need to do is once you connected your data source. Then select the picture property and in the formula bar type "ThisItem.'Picture URL'' . The screenshot below for reference 

     

     

    ragavanrajan_0-1638179011929.png

     

    Note: you need to make sure your image URL is public 

     


    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

  • Beatrix1 Profile Picture
    44 on at

    Hi Ragavanrajan,

    Thanks so much. The date is working. Thanks
    For the picture, I am not sure if I do anything wrong. I attached my screen. The URL I used as an example for testing is https://diviceimage.azureedge.net/devices/Logos/Toshiba.png

     

    Picture url.PNG
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Beatrix1 ,

     

    You test URL works for me.

    vxiaochenmsft_0-1638328355821.png

     

    So just delete the "" of your URL.

    I assume you are using a formula like this:

    ThisItem.your_Test_URL_Column

     

    You could try this:

    Substitute(ThisItem.your_Test_URL_Column,"""","")

     

    Best Regards,

    Wearsky

     

  • Beatrix1 Profile Picture
    44 on at

    Hi Wearsky,

    This worked ! Thanks Wearsky. Much Appreciated !

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
sannavajjala87 Profile Picture

sannavajjala87 38 Super User 2026 Season 1

#2
Valantis Profile Picture

Valantis 37

#3
Fubar Profile Picture

Fubar 23 Super User 2026 Season 1

Last 30 days Overall leaderboard