I have an AddColumns that works fine with a Collection
selectedStoreSalesOverTime
(the first column shown below). But if I add a second column, it is parsed correctly in the designer (no errors) but the added column doesn't show up as a selectable series in the designer. Am I missing something?
AddColumns(
selectedStoreSalesOverTime,
"SalesDay",
Switch(
Text(Weekday(DayOfInsert)),
"1",
"Sun",
"2",
"Mon",
"3",
"Tue",
"4",
"Wed",
"5",
"Thu",
"6",
"Fri",
"7",
"Sat"
),
"sales_formatted",
Text(
daily_sales_figure,
"[$-en-US]$###,###"
)
)