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

Re: How to combine two table (2 columns each) in Gallaery?

@v-yutliu-msft 

 

Hmmm, I dont think this will work as this collection still produces all columns from each source...I only need the collection to grab "Alias" & "Name" from rdDevice and "InvestmentAlias" & "InvestmentId" from rdInvestments and place into a (2) column collection so I may use it in a gallery.

 

 

 

simms7400
Level 8

Re: How to combine two table (2 columns each) in Gallaery?

@PaulD1 @v-yutliu-msft 

 

I arrived at this solution and it works - combining two different sources into 1 collection with 2 columns:

Clear(PFIPFDCombo);
Collect(
    PFIPFDCombo,
	ShowColumns(
		RenameColumns(rdDevice, "Name","DataElementName","Alias","DataElementAlias"),
	"DataElementName","DataElementAlias")
);
Collect(
    PFIPFDCombo,
	ShowColumns(
		RenameColumns(rdInvestments, "ProjectCode","DataElementName","ProjectAlias","DataElementAlias"),
	"DataElementName","DataElementAlias")
);

Thanks!

View solution in original post

Helpful resources

Announcements
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,839)