cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
niklasjegg
Helper I
Helper I

Cout Rows If is Match

Hello. I have a Gallery with a Lebel called Line_Label.

This Label displays Data in a Single Line of Text for example Line 2,Line 1,Line 3

 

I want Count the Amount of Line 1 in this Gallery. For example: Workers on Line

CountRows(MatchAll("Line 1","1",MatchOptions.Contains))

 

I want to how how many workers Work on Line 1 , Line 2, Line 3 and so on in a text field but i cant get it to show the right amount.

1 ACCEPTED SOLUTION

Accepted Solutions
niklasjegg
Helper I
Helper I

I got it. I used CountRows(Filter(Instruction_Request_User, "Line 1" in Line))

View solution in original post

2 REPLIES 2
niklasjegg
Helper I
Helper I

I got it. I used CountRows(Filter(Instruction_Request_User, "Line 1" in Line))

View solution in original post

v-albai-msft
Community Support
Community Support

Hi  @niklasjegg ,

Glad that you have solved your issue and thanks for your sharing!

Best regards,

Allen

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,182)