Skip to content

Commit

Permalink
api 5.10.0 (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
Roi-Hochler authored Jun 10, 2024
1 parent 69a0205 commit 2237736
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Change Log - Power BI Custom Visuals API
## 5.10.0
* `sourceFieldParameters` : New DataViewMetadataColumn property indicates that the current field is the result of a field parameter.

## 5.9.1
* `acquireAADTokenService` : Enhanced to support multiple clouds.

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "powerbi-visuals-api",
"version": "5.9.1",
"version": "5.10.0",
"description": "Power BI Custom Visuals API type definitions for typescript",
"types": "index",
"main": "index.js",
Expand Down
13 changes: 13 additions & 0 deletions src/visuals-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,11 @@ declare module powerbi {
*/
identityExprs?: data.ISQExpr[];

/** This indicates that the current field is a parameter */
parameter?: DataViewParameterColumnMetadata;

/** This indicates that the current field is the result of a field parameter */
sourceFieldParameters?: DataViewSourceFieldParameterMetadata[];
}

export interface DataViewSegmentMetadata {
Expand Down Expand Up @@ -756,6 +760,15 @@ declare module powerbi {
export interface DataViewParameterColumnMetadata {
}

/** Used to indicate if a column comes from field parameter and which one */
export interface DataViewSourceFieldParameterMetadata {
/** The user-facing display name of the source field parameter */
displayName: string;

/** The source field parameter SQExpr */
expr?: data.ISQExpr;
}

export interface DataViewScriptResultData {
payloadBase64: string;
}
Expand Down

0 comments on commit 2237736

Please sign in to comment.