Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello guys,
After updating everything, some things stopped working.
Created a new project, and just added the basic stuff to test changes.
First encounter:
Update didn't trigger, when resizing or doing filtering.
Second encounter:
Objects with type "text" automatically reset/clears, but not numeric, integer or boolean.
Here is a video (Could't embed it for some reason):
https://www.youtube.com/watch?v=f_kTw1X-nDc
visual.ts:
"use strict";
import "./../style/visual.less";
import powerbi from "powerbi-visuals-api";
import DataView = powerbi.DataView
import IVisual = powerbi.extensibility.visual.IVisual;
import VisualObjectInstance = powerbi.VisualObjectInstance;
import VisualObjectInstanceEnumerationObject = powerbi.VisualObjectInstanceEnumerationObject;
import VisualConstructorOptions = powerbi.extensibility.visual.VisualConstructorOptions;
import VisualUpdateOptions = powerbi.extensibility.visual.VisualUpdateOptions;
import EnumerateVisualObjectInstancesOptions = powerbi.EnumerateVisualObjectInstancesOptions
import { VisualSettings } from "./settings";
export class Visual implements IVisual {
private target: HTMLElement;
private settings: VisualSettings;
constructor(options: VisualConstructorOptions) {
console.log('VIS - Visual constructor', options);
this.target = options.element;
if (document) {
}
}
public update(options: VisualUpdateOptions) {
console.log('VIS - Visual update', options);
this.settings = Visual.parseSettings(options && options.dataViews && options.dataViews[0]);
}
private static parseSettings(dataView: DataView): VisualSettings {
return <VisualSettings>VisualSettings.parse(dataView);
}
public enumerateObjectInstances(options: EnumerateVisualObjectInstancesOptions):
VisualObjectInstance[] | VisualObjectInstanceEnumerationObject {
return VisualSettings.enumerateObjectInstances(this.settings || VisualSettings.getDefault(), options);
}
}
settings.ts:
"use strict";
import { dataViewObjectsParser } from "powerbi-visuals-utils-dataviewutils";
import DataViewObjectsParser = dataViewObjectsParser.DataViewObjectsParser;
export class VisualSettings extends DataViewObjectsParser {
public vissettings: VISSettings = new VISSettings();
}
class VISSettings {
public token: string = "";
public canvasId: string = "";
public gridId: number = 0;
}
I'm currently lost on what could be wrong, and I'm definitely no expert (the visual I updated was made 5 years ago).
All help is appreciated.
Best regards,
Nikolas
HI @zdralic,
According to your description, it seems like your requirement is more related to custom visual development. I will help you move this to the custom visual forum to get fuhrer support:
Custom Visuals Development Discussion - Microsoft Fabric Community
Regards,
Xiaoxin Sheng
Hi @Anonymous,
Thanks.
Best regards,
Nikolas
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.