cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
PytByt
Level 8

Help with add column formula

HI all..

 

I'm still new with powerapps formula, and i tend to cinfuse when joining formulas.

I need help to add new column in my collect formula here:

Collect(InvCountingJnlLineColl, ShowColumns(Filter(InventoryCountingJournalLines, Journal = "IJ-0002777"),
"JournalNumber", "InventorySiteId", "WarehouseId", "WarehouseLocationId", "ItemNumber", "ItemBatchNumber", "CountedQuantity"));

All i want to add is a "Status" column into my collection <InvCountingJnlLineColl>

What i should i put and where to make it work?

Thanks,
pytbyt

1 ACCEPTED SOLUTION

Accepted Solutions
Edwin-Abdalian
Level 10

Re: Help with add column formula

This will add a Status column to your collection with blank "" value

AddColumns(InvCountingJnlLineColl, "Status", "")

or

Collect(InvCountingJnlLineColl, AddColumns(ShowColumns(Filter(InventoryCountingJournalLines, Journal = "IJ-0002777"),
"JournalNumber", "InventorySiteId", "WarehouseId", "WarehouseLocationId", "ItemNumber", "ItemBatchNumber", "CountedQuantity") , "Status", ""))

View solution in original post

5 REPLIES 5
Edwin-Abdalian
Level 10

Re: Help with add column formula

where is the Status colum? in another list/table? how do you keep the relationship between that list and InventoryCountingJournalLines ?

PytByt
Level 8

Re: Help with add column formula

hi @Edwin-Abdalian 

No, the "Status" column is a new column that i want to create the first time i create the collection.

Is that possible?

can you help?

Regards,

pytbyt

Edwin-Abdalian
Level 10

Re: Help with add column formula

This will add a Status column to your collection with blank "" value

AddColumns(InvCountingJnlLineColl, "Status", "")

or

Collect(InvCountingJnlLineColl, AddColumns(ShowColumns(Filter(InventoryCountingJournalLines, Journal = "IJ-0002777"),
"JournalNumber", "InventorySiteId", "WarehouseId", "WarehouseLocationId", "ItemNumber", "ItemBatchNumber", "CountedQuantity") , "Status", ""))

View solution in original post

PytByt
Level 8

Re: Help with add column formula

Perfect!

 

Thanks mate @Edwin-Abdalian 

Edwin-Abdalian
Level 10

Re: Help with add column formula

sure thing. if the post solved your problem, please choose Accept as Solution

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,969)