Zdarzenia
Konferencja społeczności platformy Microsoft 365
6 maj, 14 - 9 maj, 00
Umiejętności w erze sztucznej inteligencji w ostatecznym wydarzeniu platformy Microsoft 365 prowadzonym przez społeczność, 6-8 maja w Las Vegas.
Dowiedz się więcejTa przeglądarka nie jest już obsługiwana.
Przejdź na przeglądarkę Microsoft Edge, aby korzystać z najnowszych funkcji, aktualizacji zabezpieczeń i pomocy technicznej.
Napiwek
You can find a demo video, download sample results, and go through a Show me how explanation while you’re building your query. Select these options just above Query setup.
Each of these steps takes place within one section of the advanced insights app's Custom queries > Person query page.
Uwaga
If you're an existing Viva Insights customer, refer to the note in the Introduction for more information about using the new platform.
To run a person query, you'll follow five basic steps:
In this article, we talk about how to complete each of these steps, and also give some important background information about how metrics, conditions, and attributes work.
Section: Query setup
The following steps are optional. We describe default values below.
Under Query setup:
Name your query. Queries are assigned a default name, which follows this format: Query type, user ID, date, and time. Make sure the name is unique.
Select a Time period. This field defaults to Last 3 months, but you can select another time period you want your query to analyze. Pick from Last 1 year, Last 6 months, Last 1 month, or a Custom date range. If you choose a Custom date range, use the date picker to select the range.
Set the query to automatically update by selecting the Auto-Refresh box. When you select the auto-refresh option, your query automatically runs and computes a new result every time Viva Insights gets updated collaboration data for licensed people. This option is deselected by default, but you can select it on any query where the Time period isn’t customized.
Uwaga
If the organizational data used in an auto-refreshing query changes (for example, an attribute name is altered or an attribute is removed), you might see an error when you run the query.
Type a Description.
Set how the query is grouped. By default, custom person queries are grouped by Month. To change this setting to Week or Day, select More Settings beneath the Description box.
Selecting More Settings brings you to the More Settings pane. Along with Group by, this pane shows the metric rules that apply to your query. To find out more about metric rules that apply to your query, select See metric rule details.
Uwaga
Metrics are criteria used to measure the productivity and wellbeing of employees, and metric rules are rules Viva Insights uses to improve the accuracy of your query results.
To learn more about metrics used in Viva Insights, refer to Metric definitions. To learn more about metric rules, refer to Metric rules.
Section: Select metrics for what you want to know about your employees
Under Select metrics for what you want to know about your employees, select the Add metrics button.
The Add metrics button brings you to the Select metrics pane. Using the check marks and the tools described later in this section (filter, search, and groupings) select the metrics you want to use in the query, then select Add to query. Learn more about advanced insights metrics.
The Add to query button adds these metrics into your query and takes you back to the setup screen. The metrics you selected appear as tags in the box beneath the section description.
You can also add Microsoft 365 Copilot metrics to your custom person query. These metrics provide insights about how employees are using Microsoft 365 Copilot or Copilot for Sales in Microsoft 365 apps, and they’re part of your .csv output file.
Learn more about the Microsoft 365 Copilot metrics and the Copilot for Sales metrics that you can use for your query.
Metrics are criteria used to measure the productivity and wellbeing of employees. For example, if you’re wondering how much time employees spend collaborating after their working hours, you could use the After-hours scheduled call hours and After-hours chat hours metrics in your query.
In the Select metrics pane, metrics are grouped by metric category. Expand the categories to see which metrics they contain. Let’s say you were looking for the After-hours scheduled call hours and After-hours chat hours metrics in our earlier example. You’d find them in the After-hours collaboration metric category.
There are a few other ways you can find metrics to include in your query. You can filter by type (for example, Activity count metrics or Meeting metrics) on the left side of the pane, or use the search bar to find metrics by keyword. If you're working with Power BI templates, use Filter by Power BI templates to pick metrics used in particular reports.
To find out more about a metric, hover over its information icon.
Section: Select which employees you want to include in the query
Underneath the predefined "Is Active" filter, select the Add condition button, then select Organizational data.
Using conditions and condition groups, add one or multiple filters to narrow your analysis of employees.
Uwaga
The default conjunction for conditions and condition groups is “and.” To select “or” instead, use the dropdown menu.
A condition is a statement about one attribute you want to analyze in your query. A condition only extracts rows from your organizational data that meet certain criteria, which you specify in the condition statement. For example, if your condition statement read, “Organization = Contoso.com,” the query would only extract rows that equal Contoso.com” under the Organization column. A condition group is a combination of conditions connected with a conjunction ("and" or "or"). In the following image, the condition group is in the block to the right of the conjunction "or."
To learn more about filters and conditions, refer to our Filters article.
The app predefines one condition for you: “Is Active.” If you leave this condition set to “true,” the query only analyzes active employees. Active employees send at least one email or Teams chat during the unit of time—day, week, or month—defined by the query’s Group by setting.
When you open your query results file, you'll see a Boolean value of "TRUE" or "FALSE" in the IsActive column for each row.
Beneath the Add condition and Add condition group buttons, you’ll see a number for Total employees and Measured employees. These numbers represent how many employees could be measured and how many employees the query is actually measuring, respectively. Checking these numbers before running your query can help you determine whether you’ve selected the right conditions and condition groups.
To move a condition or condition group, take the following actions:
Select the six-dot icon to the right.
Drag the six-dot icon above or below other conditions or groups.
To delete a condition or condition group, select the trashcan icon to the right.
Section: Select which employee attributes you want to include in the query
Select the Select attributes button, then on the right pane, use the checklist to make selections.
When you're done picking attributes, select the Add to query button.
Attributes appear as tags in the box above the Select attributes button.
Uwaga
If an attribute appears as a red tag, that attribute might have been removed or renamed. You might see red tags if you’re cloning or editing a query and the attributes have changed since the query was last run. You can remove these marked attributes to get the query to run properly.
Employee attributes are the data fields—or columns—that you’ve uploaded in your employee data. In Select which employee attributes you want to include in the query, you narrow down which data fields your query includes—for example, Job level or Hire date—to prevent your output (.csv) file from being larger than necessary. Making selections here:
Select the Run button in the screen’s upper right to run the query.
After your query runs, access its results on the Query results page, where you can also edit and clone your query. For further information, refer to Access query results and modify existing queries.
Let’s say you wanted to run a custom person query to find out how often managers are emailing and sending Teams chats after their working hours. You want to:
Here’s how you might do that:
Set up your query.
Add metrics.
Specify the employees you want to analyze.
Choose the employee attributes you want to include in your output file.
Run the query. On the upper right of the screen, select the Run button.
After the query successfully runs, find its results in the Query results page. To:
Przestroga
Editing queries overwrites existing results. If you want to keep your query’s results, use the Clone feature—which creates an identical copy of the query—instead.
Uwaga
Only the analyst who originally ran the query can Edit query name, Edit, or Delete the query. Other analysts in the organization can View, Clone, and Favorite the query.
Zdarzenia
Konferencja społeczności platformy Microsoft 365
6 maj, 14 - 9 maj, 00
Umiejętności w erze sztucznej inteligencji w ostatecznym wydarzeniu platformy Microsoft 365 prowadzonym przez społeczność, 6-8 maja w Las Vegas.
Dowiedz się więcejSzkolenie
Ścieżka szkoleniowa
Use advance techniques in canvas apps to perform custom updates and optimization - Training
Use advance techniques in canvas apps to perform custom updates and optimization
Certyfikacja
Certyfikat firmy Microsoft: Współpracownik analityka danych usługi Power BI - Certifications
Demonstruj metody i najlepsze rozwiązania zgodne z wymaganiami biznesowymi i technicznymi dotyczącymi modelowania, wizualizowania i analizowania danych za pomocą usługi Microsoft Power BI.