Public
Edited
Jan 3, 2024
Insert cell
Insert cell
workbook = FileAttachment("NetSuiteData 2023.11 YTD.xlsx").xlsx()
Insert cell
rawData = workbook.sheet(0, {
headers: true,
range: "A7:Q30000"
})
Insert cell
data = rawData.filter(
(row) => !isEmpty(row["GL Account"]) || !isEmpty(row["Financial Row"])
)
Insert cell
function isEmpty(str) {
return !str || (typeof str == "string" && !str.trim());
}
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more