我有两个项目,我试图合并一个共同的列。
项目 1 有列 Date Published、Type、Story、Subtopics 和 Author 项目 2 有列 PageTitle、UniquePageviews 和 AvgTimeOnPage
PageTitle 和 Story 具有相同的值。我想将 UniquePageviews 和 AvgTimeOnPage 添加到项目 1。
当我使用 GREL forEach(cross(cell,"Project2","PageTitle"),v,v.cells["AvgTimeOnPage"].value)[0] (手动或使用 VIB-Bits 扩展)时,我收到通知已经创建了两个新列......但是“通过填充 0 行”。除了正确添加的标题之外,新列是空白的。
如何让 cell.cross 填充它说它正在填充的任何行?
编辑:此处的数据库示例:https ://imgur.com/a/fRGhhNw
项目一:
Date published Type Story Subtopic(s) Author
4/30/2018 News in Brief Last year's solar eclipse set off a wave in the upper atmosphere Planetary Science, Earth Lisa Grossman
4/30/2018 News in Brief New genetic details may help roses come up smelling like, well, roses Plants, Genetics Susan Milius
4/30/2018 Science Visualized See (and hear) the stunning diversity of bowhead whales' songs Animals, Biophysics, Ecology Helen Thompson
4/29/2018 News New genetic sleuthing tools helped track down the Golden State Killer suspect Genetics, Science & Society Tina Hesman Saey
项目二:
PageTitle UniquePageviews AvgTimeOnPage
The truth about animals isn't always pretty 63398 Sun Dec 31 00:03:06 EST 1899
Birds get their internal compass from this newly ID'd eye protein 53566 Sun Dec 31 00:03:30 EST 1899
Last year's solar eclipse set off a heat wave in the upper atmosphere 35496 Sun Dec 31 00:07:03 EST 1899
City heat is getting hazardous for humans 32199 Sun Dec 31 00:05:49 EST 1899