Skip to content

Commit 771a0ba

Browse files
API 5.4.0 (#66)
* feat(filter): added isDataFilterApplied in DataViewMetadata * chore(version): updated package version * Update CHANGELOG.md --------- Co-authored-by: Asaf Mozes <37801424+AsafMozes@users.noreply.github.com>
1 parent a953be6 commit 771a0ba

4 files changed

Lines changed: 8 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log - Power BI Custom Visuals API
22

3+
## 5.4.0
4+
* Adds `isDataFilterApplied` into DataViewMetadata, to provide a boolean value of whether any applied filter affects the visual.
5+
36
## 5.3.0
47
* SelectionId's update-fix for matrix dataView.
58
*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.*

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "powerbi-visuals-api",
3-
"version": "5.3.0",
3+
"version": "5.4.0",
44
"description": "Power BI Custom Visuals API type definitions for typescript",
55
"types": "index",
66
"main": "index.js",

src/visuals-api.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,9 @@ declare module powerbi {
409409

410410
/** Contains metadata about the dataRoles */
411411
dataRoles?: DataRolesInfo;
412+
413+
/** Specifies if any filter applied affects the visual */
414+
isDataFilterApplied?: boolean;
412415
}
413416

414417
export interface DataRolesInfo {

0 commit comments

Comments
 (0)