Skip to content

Commit 2497241

Browse files
Amit Shusterali-hamud
authored andcommitted
Merged PR 4069: exportData
1 parent 1ff2004 commit 2497241

File tree

5 files changed

+331
-44
lines changed

5 files changed

+331
-44
lines changed

dist/powerbi-client.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,19 @@ declare module "visualDescriptor" {
506506
* @returns {Promise<void>}
507507
*/
508508
setFilters(filters: models.IFilter[]): Promise<void>;
509+
/**
510+
* Exports Visual data.
511+
* Can export up to 30K rows.
512+
* @param rows: Optional. Default value is 30K, maximum value is 30K as well.
513+
* @param exportDataType: Optional. Default is models.ExportDataType.Summarized.
514+
* ```javascript
515+
* visual.exportData()
516+
* .then(data => { ... });
517+
* ```
518+
*
519+
* @returns {(Promise<string>)}
520+
*/
521+
exportData(exportDataType?: models.ExportDataType, rows?: number): Promise<string>;
509522
}
510523
}
511524
declare module "page" {

0 commit comments

Comments
 (0)