Skip to content

Commit

Permalink
Merge pull request #12529 from MicrosoftDocs/main
Browse files Browse the repository at this point in the history
10/28/2024 PM Publish
  • Loading branch information
Emma-yxf authored Oct 28, 2024
2 parents 1acd21e + 363be62 commit 1152f99
Show file tree
Hide file tree
Showing 9 changed files with 68 additions and 545 deletions.
5 changes: 5 additions & 0 deletions .openpublishing.redirection.json
Original file line number Diff line number Diff line change
Expand Up @@ -6260,6 +6260,11 @@
"source_path": "powerbi-docs/paginated-reports/expressions/report-builder-functions-varp-function.md",
"redirect_url": "/sql/reporting-services/report-design/report-builder-functions-varp-function",
"redirect_document_id": false
},
{
"source_path": "powerbi-docs/guidance/whitepaper-azure-b2b-power-bi.md",
"redirect_url": "/power-bi/enterprise/service-admin-azure-ad-b2b",
"redirect_document_id": false
}
]
}
38 changes: 38 additions & 0 deletions powerbi-docs/connect-data/service-connect-cloud-data-sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,44 @@ Selecting **Manage** presents a page with several tabs. Select the **Reports** t

* **Shareable cloud connections also share your credentials** - when you allow others to user your shareable cloud connections, it's important to understand that you're letting others connect their own semantic models, paginated reports, and other artifacts to the corresponding data sources by using the connection details and credentials you provided. Make sure you only share connections (and their credentials) that you're authorized to share.

* **Every user is limited to maximum 1000 data source connections in every cloud tenant**: If you reach the maximum number of data sources limit, verify that the number of data sources per user isn't over the limit of 1000 connections. To resolve any related issues, you can manually remove existing data sources from the admin center or, alternatively, use the following PowerShell script to find and bulk-delete any data sources that exceed that limit.
```
PowerShell
## required module "mcirosoftpowerbimgmt" Install-Module -Name DataGateway and sign in the same user who exceeded the 1000 limit
Import-Module -name microsoftpowerbimgmt
## get the gateway information per the sign in person. Choose Environment: Public, USGov, China, USGovHigh, USGovMil
$environment = "Public"
Connect-PowerBIServiceAccount -Environment $environment
switch ($environment) {
"Public" { $baseURL = "https://api.powerbi.com/v2.0/myorg/me/"; Break }
"USGov" { $baseURL = "https://api.powerbigov.us/v2.0/myorg/me/"; Break }
"China" { $baseURL = "https://api.powerbi.cn/v2.0/myorg/me/"; Break }
"USGovHigh" { $baseURL = "https://api.high.powerbigov.us/v2.0/myorg/me/"; Break }
"USGovMil" { $baseURL = "https://api.mil.powerbigov.us/v2.0/myorg/me/"; Break }
}
$getDatasourcesURL = $baseURL + "gatewayClusterDatasources?$expand=users"
$datasources = Invoke-PowerBIRestMethod -Url $getDatasourcesURL -Method GET | ConvertFrom-Json
foreach($dataource in $datasources.value)
{
if($datasource.gatewayType -eq "TenantCloud")
{
"cloud datasource found with id = {0}, name = {1}" -f $dataource.id, $datasource.datasourceName
$gatewayId = $datasource.clusterId
$datasourceId = $dataource.id
## conditional logic to determine if name matches set
$deleteDatasourceURL = $baseURL + "gatewayClusters/$gatewayId/datasources/$datasourceId"
Invoke-PowerBIRestMethod -Url $deleteDatasourceURL -Method DELETE
}
}
```
If you're an ISV or any other Power BI Embedded app owner with many customers, use service principal profiles for multi-tenancy apps in Power BI embedded. If you're not an ISV, you might reach this limit because you're creating a new data source for every CSV or Excel file. To solve this, you might want to use the "upload file box" in Power BI Desktop to select multiple Excel files, which creates multiple data source connections. In this scenario, to ensure that only a single data source is selected, we recommend that you instead select the folder containing those Excel files.

* You can't mix an Excel on-premises data source with an existing Analysis Services DirectQuery data source; you can only include an Excel on-premises data source to your report if it's in a separate query. In such situations, you can map the Excel data source to a gateway, and leave the Analysis Services DirectQuery cloud data source as-is.

## Related content
Expand Down
6 changes: 5 additions & 1 deletion powerbi-docs/connect-data/service-real-time-streaming.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ ms.reviewer: ''
ms.service: powerbi
ms.subservice: pbi-data-sources
ms.topic: how-to
ms.date: 11/10/2023
ms.date: 10/28/2024
LocalizationGroup: Data from files
---
# Real-time streaming in Power BI

> [!IMPORTANT]
> Real-time streaming in Power BI is being retired. After October 31, 2024 you will no longer be able to create new real-time semantic models in Power BI. Your existing streaming semantic models will be unaffected. As an alternative, explore [Real-Time Intelligence in Microsoft Fabric](/fabric/real-time-intelligence/overview).

Power BI with real-time streaming helps you stream data and update dashboards in real time. Any visual or dashboard created in Power BI can display and update real-time data and visuals. The devices and sources of streaming data can be factory sensors, social media sources, service usage metrics, or many other time-sensitive data collectors or transmitters.

This article shows you how to set up and use real-time streaming semantic models in Power BI.
Expand Down
13 changes: 9 additions & 4 deletions powerbi-docs/enterprise/troubleshoot-xmla-endpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,17 @@ If you've enabled tenant settings to allow service principals to use Power BI AP

To use a service principal, be sure to specify the application identity information in the connection string as:

- `User ID=<app:appid@tenantid>`
- `Password=<application secret>`
- **User ID** - *app:appid@tenantid*

For example:
- **Password**

`Data Source=powerbi://api.powerbi.com/v1.0/myorg/Contoso;Initial Catalog=PowerBI_Dataset;User ID=app:91ab91bb-6b32-4f6d-8bbc-97a0f9f8906b@19373176-316e-4dc7-834c-328902628ad4;Password=6drX...;`
- *cert:thumbprint* (recommended for security)

`Data Source=powerbi://api.powerbi.com/v1.0/myorg/Contoso;Initial Catalog=PowerBI_Dataset;User ID=app:91ab91bb-6b32-4f6d-8bbc-97a0f9f8906b@19373176-316e-4dc7-834c-328902628ad4;Password=`**`cert:12faf3e291435468607857694df5e45b68851868`**`;`

- *application secret*

`Data Source=powerbi://api.powerbi.com/v1.0/myorg/Contoso;Initial Catalog=PowerBI_Dataset;User ID=app:91ab91bb-6b32-4f6d-8bbc-97a0f9f8906b@19373176-316e-4dc7-834c-328902628ad4;Password=`**`6drX...`**`;`

If you receive the following error:

Expand Down
4 changes: 1 addition & 3 deletions powerbi-docs/guidance/TOC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,4 @@
- name: "Power BI security white paper"
href: whitepaper-powerbi-security.md
- name: "Power BI Premium deployment"
href: whitepaper-powerbi-premium-deployment.md
- name: "Distribute Power BI externally using Microsoft Entra B2B"
href: whitepaper-azure-b2b-power-bi.md
href: whitepaper-powerbi-premium-deployment.md
4 changes: 2 additions & 2 deletions powerbi-docs/guidance/power-bi-optimization.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ The semantic model is the foundation of all reporting in Power BI. Consumers of
- **Descriptions**: Tables, columns, and measures in the model can have descriptions added to them to provide more detail than can fit in the name. Explain not only what they include but how they should be used.
- **Hide**: You can hide tables, columns, and measures in the model to show only what you expect them to use in a report. For example, relationship columns may be an ID that is not necessary for reporting and can be hidden as it's not expected to be used in a report, or data columns that have a measure to aggregate the column could be hidden to encourage use of the measure instead. Hidden objects can always be unhidden later by the model consumer, so they will still be available, but hiding can provide focus.
- **Hierarchies**: You can create hierarchies to convey the hierarchy across multiple columns. For example, a Calendar hierarchy may contain Year, Month, Day columns, and a Product hierarchy may contain Category, Sub-Category, Product columns. Right-click a column to create a hierarchy.
- **Measures**: You can use [measures](/power-bi/transform-model/desktop-measures) to aggregate data columns in the semantic model to provide consitency across reports. Measures can range from the SUM of a column, to a health index combining multiple aggregations in a specific way or comparing aggregations across time periods, such as daily average this month compared to the daily average of the same month last year. Measures can also be surfaced in Power BI search and other features, such as [Metrics and Scorecards](/power-bi/create-reports/service-goals-introduction).
- **Measures**: You can use [measures](/power-bi/transform-model/desktop-measures) to aggregate data columns in the semantic model to provide consistency across reports. Measures can range from the SUM of a column, to a health index combining multiple aggregations in a specific way or comparing aggregations across time periods, such as daily average this month compared to the daily average of the same month last year. Measures can also be surfaced in Power BI search and other features, such as [Metrics and Scorecards](/power-bi/create-reports/service-goals-introduction).
- **Formats**: You can specify how a column or measure is displayed in a visual, by default. Values in visuals can be customized further in the visual. Format options include if it has a thousands comma, how many decimal places, how a date is shown, etc. You can also apply [custom](/power-bi/create-reports/desktop-custom-format-strings) or [dynamic](/power-bi/create-reports/desktop-dynamic-format-strings) formats.
- Data category: You can specify a column [data category](/power-bi/transform-model/desktop-data-categorization), such as if it's a Country or Web URL.
- **Data category**: You can specify a column [data category](/power-bi/transform-model/desktop-data-categorization), such as if it's a Country or Web URL.

These are common features of Power BI semantic model that can be leveraged to help your report authors and model consumers. There are many others, such as [calculation groups](/power-bi/transform-model/calculation-groups), [field parameters](/power-bi/create-reports/power-bi-field-parameters), [what if parameters](/transform-model/desktop-what-if), and [grouping and binning columns](/power-bi/create-reports/desktop-grouping-and-binning), which should be evaluated to see if they apply your specific reporting needs.

Expand Down
Loading

0 comments on commit 1152f99

Please sign in to comment.