cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Prem1128
Frequent Visitor

table to text with serial numbers

I want to convert a table to text so i used a formula is given below

 

 

concat(defect556,Value,".
")

 

 

but i need to separation with including dot and serial numbers.

can anyone help me out from this please.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Prem1128,

Have you solved your problem?

Do you want to add serial number for each concat items from defects?

Could you please share a bit more about the scenario?

I have made a simple demo for you, I create a temporary table ["item1","item2"] to represent the defects in your scenario.

Set the OnVisible property of the current screen as below:

 

Clear(colNumber1);
ForAll(
    [
        "item1",
        "item2"
    ],
    Collect(
        colNumber1,
        Last(
            FirstN(
                AddColumns(
                    [
                        "item1",
                        "item2"
                    ],
                    "RowNumber",
                    Concatenate(
                        Text(CountRows(colNumber1) + 1),
                        ".",
                        Value,
                        "."
                    )
                ),
                CountRows(colNumber1) + 1
            )
        )
    )
)

 

Set the Text property of the Label as below:

 

Concat(colNumber1,RowNumber,Char(10)&"")

 

vqiaqimsft_0-1632804652104.png

Hope it could help you at some degree.

Best Regards,
Qi

View solution in original post

4 REPLIES 4
eka24
Super User
Super User

Show a sample of the Table and what you want the output to be

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

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.

 

Prem1128
Frequent Visitor

  • 1. My Table data

IMG_20210926_003248.jpg

  • 2. After applying concat formula the result is

IMG_20210926_003211.jpg

  • 3. What i need

IMG_20210926_003103.jpg

 

 

 

 

 

 

 

 

 

 

 

 

Hi @Prem1128,

Have you solved your problem?

Do you want to add serial number for each concat items from defects?

Could you please share a bit more about the scenario?

I have made a simple demo for you, I create a temporary table ["item1","item2"] to represent the defects in your scenario.

Set the OnVisible property of the current screen as below:

 

Clear(colNumber1);
ForAll(
    [
        "item1",
        "item2"
    ],
    Collect(
        colNumber1,
        Last(
            FirstN(
                AddColumns(
                    [
                        "item1",
                        "item2"
                    ],
                    "RowNumber",
                    Concatenate(
                        Text(CountRows(colNumber1) + 1),
                        ".",
                        Value,
                        "."
                    )
                ),
                CountRows(colNumber1) + 1
            )
        )
    )
)

 

Set the Text property of the Label as below:

 

Concat(colNumber1,RowNumber,Char(10)&"")

 

vqiaqimsft_0-1632804652104.png

Hope it could help you at some degree.

Best Regards,
Qi

View solution in original post

Thank you 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Users online (2,568)