web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Text does not work in ...
Power Apps
Answered

Text does not work in gallery

(0) ShareShare
ReportReport
Posted on by 86

Hi,

 

I am building my app and I have poroblems with Text function in Gallery.

 

My formula is:

1.png

 

What I actually see in Gallery:

2.png

 

What I should see:

3.png

 

So where is the problem? Why my formula does not work?

 

Thank you for your ideas,

George

Categories:
I have the same question (0)
  • DevendraSingh Profile Picture
    144 on at

    Hi,

    Your formula is right, I tried with the same formula and it's working fine.

    Can you check the data type of the selected field, i.e. Datum.

     

    Text does not work in gallery.png

    Please click Accept as Solution, if this solution solved your issue. If this post was useful, please consider giving it Thumbs Up.

     

    Thanks & Regards,

    Devendra Singh

  • JiriS Profile Picture
    86 on at

    Hi,

     

    so the column type in sharepoint must be Date column. Text column etc. is not supported?

     

    Thanks

  • v-siky-msft Profile Picture
    on at

    Hi @DevendraSingh ,

     

    Yes, the Column value must be Date type. If Datum column is Single line of Text column, you need to format the Text column to Date and then change to Long Date Format. Please try this:

    Text(DateTimeValue(ThisItem.Datum);LongDate)

     

    Hope this helps.

    Sik

  • Verified answer
    eka24 Profile Picture
    20,923 on at

    I made a test with

    Text(DateTimeValue(ThisItem.Datum);LongDate)

    ------------

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

  • JiriS Profile Picture
    86 on at

    It works, thank you, but I have also another question.

     

    I have written this formula:

    1.png

    I see in gallery this:

    2.png

     

    But when I submit this formula there is a eror. PowerApps change my formula and it makes only troubles.

    Formula:

    3.png

    Gallery:

    4.png

     

    Why powerapps changes my fomula? What can I do with this?

     

    Thank you.

  • Verified answer
    v-siky-msft Profile Picture
    on at

    Hi @JiriS ,

     

    [$-cs] is not a valid Language placeholder, please try to modify the [$-cs] to [$-cs-cz].

    Language placeholder is defined by system by default, it reflects the language to which your device is set.

    For more reference: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-text#global-apps 

    Sik

  • JiriS Profile Picture
    86 on at

    It works, thank you.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 372 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 303 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 238 Super User 2026 Season 1

Last 30 days Overall leaderboard