Skip to content

Commit 40e4164

Browse files
authored
Merge pull request #12975 from mberdugo/Freshness
Freshness
2 parents 4a15ec5 + 89c32bc commit 40e4164

15 files changed

+36
-73
lines changed

powerbi-docs/developer/embedded/datasets-permissions.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tags: ''
99
ms.service: powerbi
1010
ms.subservice: powerbi-developer
1111
ms.topic: reference
12-
ms.date: 11/09/2023
12+
ms.date: 11/09/2024
1313
---
1414

1515
# Semantic model REST API permissions
@@ -28,7 +28,7 @@ Power BI has two sets of permissions:
2828

2929
Workspace permissions, also known as folder permissions or [roles](../../collaborate-share/service-roles-new-workspaces.md), are the highest level of permissions in Power BI. These permissions override permissions that are given to a specific item in the workspace folder.
3030

31-
The table below lists the four types of folder roles. It shows each role's level, and the code string returned by the Power BI REST APIs. Admin is the highest workspace permission level, and viewer is the lowest. Every permission level includes the capabilities of the permissions below it. You can review the capabilities of each permission in [Workspace roles](../../collaborate-share/service-roles-new-workspaces.md#workspace-roles).
31+
The following table lists the four types of folder roles. It shows each role's level, and the code string returned by the Power BI REST APIs. Admin is the highest workspace permission level, and viewer is the lowest. Every permission level includes the capabilities of the permissions below it. You can review the capabilities of each permission in [Workspace roles](../../collaborate-share/service-roles-new-workspaces.md#workspace-roles).
3232

3333
|Folder Role |Level |Derived permissions for semantic models created in the workspace |
3434
|------------|------|--------------------------|
@@ -38,7 +38,7 @@ The table below lists the four types of folder roles. It shows each role's level
3838
|Viewer |1 |`Read` |
3939

4040
>[!NOTE]
41-
>The *write* permission is applied to Power BI semantic models created by *admin*, *member* and *contributor* users in a workspace they own. The write permission can be granted or deleted using workspace permissions only. It cannot directly be granted to, or deleted from, a Power BI item.
41+
>The *write* permission is applied to Power BI semantic models created by *admin*, *member*, and *contributor* users in a workspace they own. The write permission can be granted or deleted using workspace permissions only. It can't directly be granted to, or deleted from, a Power BI item.
4242
4343
#### Get and add workspace permissions with APIs
4444

@@ -56,14 +56,14 @@ Power BI items, such as reports, semantic models, and dashboards have their own
5656

5757
## Semantic model permissions and REST APIs
5858

59-
Semantic model permissions are part of the [item permissions](#item-permissions). The table below lists the Power BI semantic model permissions and their representation in the [Power BI REST APIs](/rest/api/power-bi/).
59+
Semantic model permissions are part of the [item permissions](#item-permissions). The following table lists the Power BI semantic model permissions and their representation in the [Power BI REST APIs](/rest/api/power-bi/).
6060

6161
>[!TIP]
6262
>Although the API permissions are identical to the Power BI service permissions, [`build`](#build-permissions-and-rest-apis) permissions are referred to as *explore* permissions in the APIs.
6363
6464
|Permission |Read |Explore |Reshare |
6565
|-----------------------|---------|---------|---------|
66-
|Description |Allows the user to read the content of the semantic model|Equivalent to [build permissions](#build-permissions-and-rest-apis) |Allows the user to share the content of the semantic model with other users who will get read, reshare, or explore permissions for it |
66+
|Description |Allows the user to read the content of the semantic model|Equivalent to [build permissions](#build-permissions-and-rest-apis) |Allows the user to share the content of the semantic model with other users who get read, reshare, or explore permissions for it |
6767
|**ReadReshareExplore** | :::image type="icon" source="../../includes/media/yes-icon.svg" border="false"::: |:::image type="icon" source="../../includes/media/yes-icon.svg" border="false"::: |:::image type="icon" source="../../includes/media/yes-icon.svg" border="false"::: |
6868
|**ReadReshare** |:::image type="icon" source="../../includes/media/yes-icon.svg" border="false"::: |:::image type="icon" source="../../includes/media/no-icon.svg" border="false"::: |:::image type="icon" source="../../includes/media/yes-icon.svg" border="false"::: |
6969
|**ReadExplore** |:::image type="icon" source="../../includes/media/yes-icon.svg" border="false"::: |:::image type="icon" source="../../includes/media/yes-icon.svg" border="false"::: |:::image type="icon" source="../../includes/media/no-icon.svg" border="false"::: |
@@ -74,7 +74,7 @@ Semantic model permissions are part of the [item permissions](#item-permissions)
7474
7575
### Build permissions and REST APIs
7676

77-
In the [Power BI REST APIs](/rest/api/power-bi/), the `build` permission is returned as *explore*. For example, a string with the *read*, *reshare* and *build* permissions, will look like this: `ReadReshareExplore`.
77+
In the [Power BI REST APIs](/rest/api/power-bi/), the `build` permission is returned as *explore*. For example, a string with the *read*, *reshare* and *build* permissions, looks like this: `ReadReshareExplore`.
7878

7979
When you give a user `build` permission, they can build new content on your semantic model. Examples of content they can build are reports, dashboards, pinned tiles from Q&A, paginated reports, and Insights Discovery.
8080

@@ -88,7 +88,7 @@ Users also need `build` permissions to work with data outside Power BI:
8888

8989
### Row-level security
9090

91-
For a semantic model that uses row-level security (RLS), any permissions *higher* than `build` will enable the user to view all the data in the semantic model. `Build`, and permissions lower than `build`, will only give the semantic model user access to the data they're allowed to see as configured in your RLS settings.
91+
For a semantic model that uses row-level security (RLS), any permissions *higher* than `build` enables the user to view all the data in the semantic model. `Build`, and permissions lower than `build`, only give the semantic model user access to the data they're allowed to see as configured in your RLS settings.
9292

9393
### Get and update semantic model permissions with APIs
9494

@@ -107,9 +107,7 @@ For a semantic model that uses row-level security (RLS), any permissions *higher
107107
* [Datasets - Get Dataset Users](/rest/api/power-bi/datasets/get-dataset-users)
108108
* [Datasets - Get Dataset Users In Group](/rest/api/power-bi/datasets/get-dataset-users-in-group)
109109

110-
## Considerations and limitations
111-
112-
Each of the above APIs comes with certain limitations regarding who can use them and how. To see the limitations of each API, select the link for that API.
110+
Each of these APIs comes with certain limitations regarding who can use them and how. To see the limitations of each API, select the link for that API.
113111

114112
## Related content
115113

powerbi-docs/developer/embedded/embed-azure-analysis-services.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ ms.reviewer: sabre
77
ms.service: powerbi
88
ms.subservice: powerbi-developer
99
ms.topic: how-to
10-
ms.date: 11/08/2023
10+
ms.date: 01/12/2025
11+
#customer intent: As an ISV, I want to embed a Power BI report that uses data stored in Azure Analysis Services (AAS) in an embed for your customers scenario, so that I can provide my customers with a report that uses data from an AAS database.
1112
---
1213

1314
# Embed a report with an Azure Analysis Services (AAS) database
@@ -18,7 +19,7 @@ This article explains how to embed a Power BI report that uses data stored in [A
1819

1920
## Prerequisites
2021

21-
You'll need a report with a live connection to AAS database, with or without RLS.
22+
You need a report with a live connection to AAS database, with or without RLS.
2223

2324
## Dynamic security - RLS
2425

@@ -52,10 +53,10 @@ Use the [**service principal object ID**](embedded-troubleshoot.md#whats-the-dif
5253

5354
## Analysis Service migration
5455

55-
You can [migrate from AAS to Power BI Premium](../../guidance/migrate-azure-analysis-services-to-powerbi-premium-migration-scenarios.md) even if you have an embedded AAS report. Your embedded report won't break during the migration, as long as the principal that's calling the [Embed Token - Generate Token](/rest/api/power-bi/embed-token/generate-token) API, is a member or admin of the workspace.
56+
You can [migrate from AAS to Power BI Premium](../../guidance/migrate-azure-analysis-services-to-powerbi-premium-migration-scenarios.md) even if you have an embedded AAS report. Your embedded report doesn't break during the migration, as long as the principal that's calling the [Embed Token - Generate Token](/rest/api/power-bi/embed-token/generate-token) API, is a member or admin of the workspace.
5657

5758
>[!NOTE]
58-
> If the service principal is not an admin, and you don't want to make it an admin of the workspace when you migrate, migrate that model into a separate workspace where you can give it admin permissions.
59+
> If the service principal isn't an admin, and you don't want to make it an admin of the workspace when you migrate, migrate that model into a separate workspace where you can give it admin permissions.
5960
6061
## Generate an embed token
6162

@@ -68,15 +69,15 @@ The information needed to generate an embed token depends on how you're connecte
6869
To generate an embed token, provide the following information:
6970

7071
* **Username** (Optional if no RLS. Required for RLS) - The username must be the same as API caller (in this case, the Master user's [UPN](./pbi-glossary.md#user-principal-name-upn)). If the database doesn't use RLS, and no username is provided, the master user's credentials are used.
71-
* **Role** (required for RLS) - The report will only display data if the effective identity is a member of the role.
72+
* **Role** (required for RLS) - The report only displays data if the effective identity is a member of the role.
7273

7374
Example:
7475

7576
Define the user identity and roles for one of the following three scenarios:
7677

7778
* If RLS isn't implemented:
7879

79-
There is no need to define any effective identity.
80+
You don't need to define any effective identity.
8081

8182
* If using static RLS:
8283

@@ -100,7 +101,7 @@ There is no need to define any effective identity.
100101
```
101102

102103
>[!NOTE]
103-
>`customData` in the embed token cannot be larger than 1,024 characters.
104+
>`customData` in the embed token can't be larger than 1,024 characters.
104105

105106
Use the effective identity to generate an embed token:
106107

@@ -175,7 +176,7 @@ public EmbedToken GetEmbedToken(Guid reportId, IList<Guid> datasetIds, [Optional
175176

176177
---
177178

178-
Use the embed token to embed the report into your app or website. Your report will filter data according to the applied RLS in the report.
179+
Use the embed token to embed the report into your app or website. Your report filters data according to the applied RLS in the report.
179180

180181
## Related content
181182

powerbi-docs/developer/embedded/rls-sso.md

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer:
77
ms.service: powerbi
88
ms.subservice: powerbi-developer
99
ms.topic: how-to
10-
ms.date: 11/09/2023
10+
ms.date: 11/09/2024
1111
# customer intent: As an ISV, I want to learn how to embed Power BI content with token-based, single sign-on (SSO) identities so I can provide secure access to my customers' data.
1212
---
1313

@@ -75,40 +75,6 @@ See the following examples for generating embed tokens for different scenarios.
7575

7676
#### [Power BI report with SSO](#tab/Power-BI-report-with-SSO)
7777

78-
<!--
79-
80-
```json
81-
{
82-
"datasets": [
83-
{
84-
"id": "66ba5010-xxxx-xxxx-xxxx-f2bf0125abeb",
85-
"xmlaPermissions": "ReadOnly"
86-
}
87-
],
88-
"reports": [
89-
{
90-
"allowEdit": false,
91-
"id": "9e6da541-xxxx-xxxx-xxxx-7d9442827cce"
92-
}
93-
],
94-
"datasourceIdentities": [
95-
{
96-
"identityBlob": "eyJ…",
97-
"datasources": [
98-
{
99-
"datasourceType": "Sql",
100-
"connectionDetails": {
101-
"server": "YourServerName.database.windows.net",
102-
"database": "YourDataBaseName"
103-
}
104-
}
105-
]
106-
}
107-
]
108-
}
109-
```
110-
-->
111-
11278
```json
11379
{
11480
"datasets": [

powerbi-docs/developer/visuals/dataview-mappings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer: tebercov
77
ms.service: powerbi
88
ms.subservice: powerbi-custom-visuals
99
ms.topic: concept-article
10-
ms.date: 12/12/2023
10+
ms.date: 12/12/2024
1111
#customer intent: As a Power BI visual developer, I want to understand how data view mapping works in Power BI visuals so that I can create different types of visuals.
1212
---
1313

powerbi-docs/developer/visuals/fetch-more-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer: tebercov
77
ms.service: powerbi
88
ms.subservice: powerbi-custom-visuals
99
ms.topic: how-to
10-
ms.date: 11/18/2023
10+
ms.date: 11/18/2024
1111
#customer intent: As a Power BI visual developer, I want to learn how to fetch more data from Power BI so that I can display large semantic models in my visual.
1212
---
1313

@@ -178,7 +178,7 @@ btn_click(){
178178
As a response to calling the `this.host.fetchMoreData` method, Power BI calls the `update` method of the visual with a new segment of data.
179179
180180
> [!NOTE]
181-
> Although the data in the different updates of the data views are mostly exclusive, there is some overlap between consecutive data views.
181+
> Although the data in the different updates of the data views are mostly exclusive, there's some overlap between consecutive data views.
182182
>
183183
> For table and categorical data mapping, the first `N` data view rows can be expected to contain data copied from the previous data view.
184184
>

powerbi-docs/developer/visuals/format-pane-general.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer: ''
77
ms.service: powerbi
88
ms.subservice: powerbi-custom-visuals
99
ms.topic: how-to
10-
ms.date: 12/12/2023
10+
ms.date: 01/12/2025
1111
#customer intent: As a custom Power BI visual developer, I want to learn how to customize the new Format pane in Power BI custom visuals using the new formatting model so that I can create visuals that are easier for report creators to use.
1212
---
1313

powerbi-docs/developer/visuals/import-visual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer: ""
77
ms.service: powerbi
88
ms.subservice: powerbi-custom-visuals
99
ms.topic: how-to
10-
ms.date: 12/2/2023
10+
ms.date: 01/12/2025
1111
#customer intent: As a Power BI user, I want to learn how to import a custom visual from AppSource or from a file so that I can use it in my Power BI reports.
1212
---
1313

powerbi-docs/developer/visuals/permissions-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer:
77
ms.service: powerbi
88
ms.subservice: powerbi-custom-visuals
99
ms.topic: reference
10-
ms.date: 06/28/2022
10+
ms.date: 06/28/2024
1111
---
1212

1313
# Check permissions API

powerbi-docs/developer/visuals/power-bi-custom-visuals-certified.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ Make sure that the following commands don't return any errors.
7676
* `npm audit` - Must not return any warnings with high or moderate level.
7777
* `ESlint` with the [required configuration](https://www.npmjs.com/package/eslint-plugin-powerbi-visuals). This command must not return any lint errors.
7878

79-
>[!NOTE]
80-
> We're in the process of migrating from TSlint to ESLint. Visuals using TSlint will be accepted for certification until March 2023. After that, ESlint will be required.
81-
8279
### Compiling requirements
8380

8481
Use the latest version of [powerbi-visuals-tools](https://www.npmjs.com/package/powerbi-visuals-tools) to write the Power BI visual.

powerbi-docs/developer/visuals/power-bi-custom-visuals-troubleshoot.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ ms.reviewer: ""
77
ms.service: powerbi
88
ms.subservice: powerbi-custom-visuals
99
ms.topic: troubleshooting
10-
ms.date: 12/21/2023
10+
ms.date: 12/21/2024
11+
# customer intent: As a Power BI developer, I want to learn how to troubleshoot common issues that might occur when setting up my developer environment for creating custom Power BI visuals so that I can develop my visuals effectively.
1112
---
1213

13-
# Troubleshoot your Power BI developer environment setup
14+
# Troubleshoot your Power BI developer environment setup for custom visuals
1415

1516
This article explains how to diagnose and fix the following common problems that can occur when setting up your developer environment for creating custom Power BI visuals.
1617

powerbi-docs/developer/visuals/total-subtotal-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer: tebercov
77
ms.service: powerbi
88
ms.subservice: powerbi-custom-visuals
99
ms.topic: how-to
10-
ms.date: 11/22/2023
10+
ms.date: 11/22/2024
1111
#customer intent: As a Power BI visual developer, I want to learn how to use the Total and Subtotal API to request aggregated subtotal data from the Power BI host.
1212
---
1313

@@ -31,7 +31,7 @@ The API offers the following customization for each data-view type (currently, o
3131
* `columnSubtotals`: (boolean) Indicates if the *subtotal* data should be requested for all fields in the columns field well.
3232
* `columnSubtotalsPerLevel`: (boolean) Indicates if the *subtotal* data can be toggled for individual fields in the columns field well.
3333
* `levelSubtotalEnabled`: (boolean) Indicates if the subtotals are requested for the row or column. Unlike all the other properties, this property is applied to individual rows or columns.
34-
* `rowSubtotalsType`: ("Top" or "Bottom") Indicates if the row with the *total* data should be retrieved before (`top`) or after (`bottom`) the rest of the data. If this property is set to `bottom`, the total can only be displayed after all the data has been fetched. The default is `bottom`.
34+
* `rowSubtotalsType`: ("Top" or "Bottom") Indicates if the row with the *total* data should be retrieved before (`top`) or after (`bottom`) the rest of the data. If this property is set to `bottom`, the total can only be displayed after all the data is fetched. The default is `bottom`.
3535

3636
Each of these switches is assigned a value based on the related properties in the property pane and the defaults.
3737

powerbi-docs/developer/visuals/unit-tests-introduction.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer: tebercov
77
ms.service: powerbi
88
ms.subservice: powerbi-custom-visuals
99
ms.topic: tutorial
10-
ms.date: 12/1/2023
10+
ms.date: 12/1/2024
1111
#customer intent: As a Power BI visual developer, I want to learn how to write unit tests for my visual so that I can ensure the visual works as expected.
1212
---
1313

@@ -422,7 +422,7 @@ export class SampleBarChartDataBuilder extends TestDataViewBuilder {
422422

423423
The `SampleBarChartDataBuilder` class extends `TestDataViewBuilder` and implements the abstract method `getDataView`.
424424

425-
When you put data into data-field buckets, Power BI produces a categorical `dataview` object that's based on your data.
425+
When you put data into data-field buckets, Power BI produces a categorical `dataview` object based on your data.
426426

427427
:::image type="content" source="media/unit-tests-introduction/fields-buckets.png" alt-text="Screenshot of Power BI, which shows the data fields buckets are empty.":::
428428

@@ -621,7 +621,7 @@ npm run test
621621
> [!NOTE]
622622
> You must install Google Chrome locally.
623623
624-
In the command-line window, you'll get following output:
624+
In the command-line window, you get following output:
625625

626626
```cmd
627627
> karma start

powerbi-docs/developer/visuals/utils-formatting-model.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.reviewer: tebercov
88
ms.service: powerbi
99
ms.subservice: powerbi-custom-visuals
1010
ms.topic: reference
11-
ms.date: 10/23/2023
11+
ms.date: 10/23/2024
1212
ms.custom: engagement-fy23
1313
---
1414

@@ -347,7 +347,7 @@ new formattingSettings.ColorPicker({
347347
348348
## Reset settings to default
349349
350-
Formatting model utils will enable you to [reset settings to default](./format-pane-example.md#reset-settings-to-default) by automatically adding all the formatting properties descriptors to the formatting card list of features to revet to default descriptors `revertToDefaultDescriptors`.
350+
Formatting model utils enable you to [reset settings to default](./format-pane-example.md#reset-settings-to-default) by automatically adding all the formatting properties descriptors to the formatting card list of features to revet to default descriptors `revertToDefaultDescriptors`.
351351
352352
You can enable resetting formatting settings from:
353353

powerbi-docs/developer/visuals/utils-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.reviewer: tebercov
88
ms.service: powerbi
99
ms.subservice: powerbi-custom-visuals
1010
ms.topic: concept-article
11-
ms.date: 01/04/2024
11+
ms.date: 01/04/2025
1212
#customer intent: As a developer, I want to understand how to use type utils to enhance my Power BI visuals.
1313
---
1414

powerbi-docs/developer/visuals/visuals-interactions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer: tebercov
77
ms.service: powerbi
88
ms.subservice: powerbi-custom-visuals
99
ms.topic: how-to
10-
ms.date: 10/22/2023
10+
ms.date: 10/22/2024
1111
#customer intent: As a Power BI developer, I want to learn how to check whether Power BI visuals should allow visual interactions so that I can create effective interactive visuals.
1212
---
1313

0 commit comments

Comments
 (0)