in packages/timebrush-powerbi/src/TimeBrushVisual.ts [213:224]
private loadDataFromPowerBI(dataView: powerbi.DataView, hasDataChanged: boolean, state: TimeBrushState) {
if (hasDataChanged || hasColorSettingsChanged(this._internalState, state)) {
const dataViewCategorical = dataView.categorical;
const data = dataConverter(dataView, this.host.createSelectionIdBuilder, state);
this._data = data;
// Stash this bad boy for later, so we can filter the time column
if (dataViewCategorical && dataViewCategorical.categories) {
this.timeColumn = dataViewCategorical.categories[0];
}
this.timeBrush.data = data;
}
}