Forum Discussion
jeffreyweir
7 years agoHelper III
Generate a list from data stored in two columns
Hi folks. I'm trying to 'expand' a Table by creating a new column that for each record contains all the numbers between TP_Start and TP_End. Here's what I've got currently: I know that...
- 7 years ago
Ahh...I see now that I was trying to shoot a mosquito with a cannon, to quote MarcelBeug
#"Added Custom" = Table.AddColumn(#"Expanded TimePeriod", "TradingPeriod", each {[TP_Start]..[TP_End]}),
francisco_marco
3 years agoFrequent Visitor
It works perfectly. If the columns are already a number is even simpler: {[TP_Start]..[TP_End]}
Ashish_Mathur
3 years agoSuper User
Glad to know that.