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 / data type is optioanl,...
Power Apps
Answered

data type is optioanl, countrows() error

(0) ShareShare
ReportReport
Posted on by 321

There is a field where the data type is optional '라이선스 유형'.
However, there is no option set name. I don't have permission to add an option set name, so I have to use it to develop it.
And among the data in the gallery element, there is option 1 (Processional), and I want to express the quantity of that data by adding a text label element. There is an error.

Concatenate( "Professional: ", CountRows(BrowseGallery1.Selected.'라이선스 유형'.'Professional' ))

a problem
The content of the error is not named correctly. 'Professional' is not recognized.
This error usually occurs when you refer to an item that does not have an expression (for example, a control that you deleted).
How to modify
Remove or correct references to invalid names.

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

    Hi @Bingqiling ,

     

    Do you want to count the number of items in gallery which '라이선스 유형' option is "Processional"?

    Please try this:

    Concatenate( "Professional: ", CountRows(Filter(BrowseGallery1.AllItems,'라이선스 유형'.Value="Professional" )))

     

    Best regards,

    Rimmon

  • Verified answer
    Bingqiling Profile Picture
    321 on at
    Concatenate( "Professional: ", CountRows(Filter(BrowseGallery1.AllItems, Text('라이선스 유형') = "Professional" )))

    @v-mengmli-msft  Thanks, I didn't know I had to hang the filter.
    I couldn't value it, so I changed it to Text and succeeded
    It's by your favor.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard