From 7ee330612310df9b48cde4c992581f402df938cf Mon Sep 17 00:00:00 2001 From: manikandanvengatesan Date: Tue, 21 Feb 2023 16:15:07 +0530 Subject: [PATCH 1/3] feat(filter): added isDataFilterApplied in DataViewMetadata --- CHANGELOG.md | 3 +++ src/visuals-api.d.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 251d6ba..69d9cdf 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, this capability offers a boolean value of whether any filter applied affects the visual. + # 5.2.0 * Adds `dataReductionCustomization` into schema for capabilities.json, this capability offers a declarative way of customizing some data reduction behavior at query generation time. diff --git a/src/visuals-api.d.ts b/src/visuals-api.d.ts index 9357ca0..84c073f 100644 --- a/src/visuals-api.d.ts +++ b/src/visuals-api.d.ts @@ -402,6 +402,9 @@ declare module powerbi { /** Contains metadata about the dataRoles */ dataRoles?: DataRolesInfo; + + /** Specifies if any filter applied affects the visual */ + isDataFilterApplied?: boolean; } export interface DataRolesInfo { From 465058869d24d40131c526bb4ae664cf59224d93 Mon Sep 17 00:00:00 2001 From: manikandanvengatesan Date: Tue, 21 Feb 2023 18:35:18 +0530 Subject: [PATCH 2/3] chore(version): updated package version --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index a971b70..eed32ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "powerbi-visuals-api", - "version": "5.2.0", + "version": "5.4.0", "lockfileVersion": 1, "requires": true, "packages": { diff --git a/package.json b/package.json index 4f44205..1aee4ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "powerbi-visuals-api", - "version": "5.2.0", + "version": "5.4.0", "description": "Power BI Custom Visuals API type definitions for typescript", "types": "index", "main": "index.js", From d2845418fbfe0cc495a8609e97e605fcdd57d76f Mon Sep 17 00:00:00 2001 From: Asaf Mozes <37801424+AsafMozes@users.noreply.github.com> Date: Wed, 19 Apr 2023 11:56:51 +0300 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af65d65..ebd4282 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Change Log - Power BI Custom Visuals API ## 5.4.0 -* Adds `isDataFilterApplied` into DataViewMetadata, this capability offers a boolean value of whether any filter applied affects the visual. +* 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.