diff --git a/CHANGELOG.md b/CHANGELOG.md index 75bc41d..ebd4282 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log - Power BI Custom Visuals API +## 5.4.0 +* Adds `isDataFilterApplied` into DataViewMetadata, to provide a boolean value of whether any applied filter affects the visual. + ## 5.3.0 * SelectionId's update-fix for matrix dataView. *Note: the selectionId's core data might change therefore a persisted selectionIds/identityIndex using an older API version might not be relevant in matrix dataView.* diff --git a/package-lock.json b/package-lock.json index e133de7..af8dc07 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "powerbi-visuals-api", - "version": "5.3.0", + "version": "5.4.0", "lockfileVersion": 1, "requires": true, "packages": { diff --git a/package.json b/package.json index 7747405..09d7ab8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "powerbi-visuals-api", - "version": "5.3.0", + "version": "5.4.0", "description": "Power BI Custom Visuals API type definitions for typescript", "types": "index", "main": "index.js", diff --git a/src/visuals-api.d.ts b/src/visuals-api.d.ts index 0eeae66..e11940e 100644 --- a/src/visuals-api.d.ts +++ b/src/visuals-api.d.ts @@ -409,6 +409,9 @@ declare module powerbi { /** Contains metadata about the dataRoles */ dataRoles?: DataRolesInfo; + + /** Specifies if any filter applied affects the visual */ + isDataFilterApplied?: boolean; } export interface DataRolesInfo {