Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Text does not work in gallery

(0) ShareShare
ReportReport
Posted on by 84

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:
  • JiriS Profile Picture
    JiriS 84 on at
    Re: Text does not work in gallery

    It works, thank you.

  • Verified answer
    v-siky-msft Profile Picture
    v-siky-msft on at
    Re: Text does not work in gallery

    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
    JiriS 84 on at
    Re: Text does not work in gallery

    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
    eka24 Profile Picture
    eka24 20,921 on at
    Re: Text does not work in gallery

    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.

  • v-siky-msft Profile Picture
    v-siky-msft on at
    Re: Text does not work in gallery

    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

  • JiriS Profile Picture
    JiriS 84 on at
    Re: Text does not work in gallery

    Hi,

     

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

     

    Thanks

  • DevendraSingh Profile Picture
    DevendraSingh 144 on at
    Re: Text does not work in gallery

    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

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,445

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,741

Leaderboard