Esercitazione: Introduzione alle funzionalità di creazione nel servizio Power BITutorial: Get started creating in the Power BI service
Questa esercitazione è un'introduzione ad alcune delle funzionalità del servizio Power BIThis tutorial is an introduction to some of the features of the Power BI service. e descrive come connettersi ai dati, creare un report e un dashboard e porre domande sui dati.In it, you connect to data, create a report and a dashboard, and ask questions of your data. È possibile eseguire molte altre operazioni nel servizio Power BI e questa esercitazione è da intendersi come una semplice introduzione.You can do much more in the Power BI service; this tutorial is just to whet your appetite. Per comprendere come si posiziona il servizio Power BI rispetto alle altre offerte Power BI, è consigliabile leggere Che cos'è Power BI.For an understanding of how the Power BI service fits in with the other Power BI offerings, we recommend reading What is Power BI.
Se si devono leggere i report anziché crearli,Are you a report reader rather than a creator? l'articolo Navigazione nel servizio Power BI offre un buon punto di partenza.Getting around in the Power BI service is a good starting place for you.
In questa esercitazione viene completata la procedura seguente:In this tutorial, you complete the following steps:
- Accedere all'account online di Power BI o iscriversi se non si ha ancora un account.Sign in to your Power BI online account, or sign up, if you don't have an account yet.
- Aprire il servizio Power BI.Open the Power BI service.
- Ottenere alcuni dati e aprirli in visualizzazione report.Get some data and open it in report view.
- Usare tali dati per creare visualizzazioni e salvarli come report.Use that data to create visualizations and save it as a report.
- Creare un dashboard aggiungendo i riquadri dai report.Create a dashboard by pinning tiles from the report.
- Aggiungere altre visualizzazioni al dashboard usando lo strumento di linguaggio naturale Domande e risposte.Add other visualizations to your dashboard by using the Q&A natural-language tool.
- Ridimensionare, ridisporre e modificare i dettagli per i riquadri nel dashboard.Resize, rearrange, and edit details for the tiles on the dashboard.
- Pulire le risorse eliminando il set di dati, il report e il dashboard.Clean up resources by deleting the dataset, report, and dashboard.
Iscriversi al servizio Power BISign up for the Power BI service
Per creare contenuti in Power BI, è necessaria una licenza di Power BI Pro.You need a Power BI Pro license to create content in Power BI. Se non si ha un account Power BI, iscriversi per ottenere una versione di prova gratuita prima di iniziare.If you don't have a Power BI account, sign up for a free Power BI Pro trial before you begin.
Passaggio 1: Recupera datiStep 1: Get data
Quando si vuole creare un report di Power BI, spesso si inizia in Power BI Desktop.Often when you want to create a Power BI report, you start in Power BI Desktop. Power BI Desktop offre maggiori funzionalità.Power BI Desktop offers more power. Prima di iniziare a progettare un report, è possibile trasformare i dati, definirne la forma e modellarli.You can transform, shape, and model data, before you start designing report. In questo caso, tuttavia, si inizierà da zero creando un report nel servizio Power BI.This time though, we're going to start from scratch creating a report in the Power BI service.
In questa esercitazione vengono utilizzati i dati di un semplice file di Microsoft Excel.In this tutorial, we get data from a simple Microsoft Excel file. Per iniziare,Want to follow along? scaricare il file Financial Sample.Download the Financial Sample file.
Per iniziare, aprire il servizio Power BI (app.powerbi.com) nel browser.To begin, open the Power BI service (app.powerbi.com) in your browser.
Non si ha un account?Don’t have an account? Nessun problema: è possibile iscriversi per ottenere una versione di valutazione gratuita di Power BI ProNo worries, you can sign up for a free Power BI Pro trial
Nel riquadro di spostamento selezionare Area di lavoro personale.Select My workspace in the navigation pane.
In Area di lavoro personale selezionare Nuovo > Carica un file.In My workspace, select New > Upload a file.
Verrà aperta la pagina Recupera dati.The Get Data page opens.
Nella sezione Creare nuovo contenuto verificare che sia selezionata l'opzione File e quindi selezionare il percorso in cui è stato salvato il file di Excel.Under the Create new content section, make sure Files is selected, then select the location where you saved the Excel file.
Selezionare il file nel computer e scegliere Apri.Browse to the file on your computer, and choose Open.
Per questa esercitazione si seleziona Importa per aggiungere il file di Excel come set di dati, da usare successivamente per creare report e dashboard.For this tutorial, we select Import to add the Excel file as a dataset, which we can then use to create reports and dashboards. Se si seleziona Carica, l'intera cartella di lavoro di Excel verrà caricata in Power BI, da cui potrà essere aperta e modificata in Excel Online.If you select Upload, the entire Excel workbook is uploaded to Power BI, where you can open and edit it in Excel Online.
Quando il set di dati è pronto, selezionare Altre opzioni (...) accanto al set di dati Financial Sample e quindi selezionare Crea report.When your dataset is ready, select More options (...) next to your Financial Sample dataset, then select Create report.
Aprire l'editor di report.open the report editor.
L'area di disegno report è vuota.The report canvas is blank. A destra sono visualizzati i riquadri Filtri, Visualizzazioni e Campi.We see the Filters, Visualizations, and Fields panes on the right.
Suggerimento
Toccare il pulsante di spostamento globale nell'angolo in alto a sinistra per comprimere il riquadro di spostamento.Select the global navigation button in the upper-left corner to collapse the navigation pane. In questo modo è disponibile più spazio per il canvas.That way your canvas has more room.
La visualizzazione di modifica sarà attiva.You're currently in Editing view. Si noti l'opzione Visualizzazione di lettura nella barra dei menu.Notice the Reading view option in the menu bar.
Quando è attiva la visualizzazione di modifica, l'utente può modificare i report perché ha il ruolo di proprietario e autore.While in Editing view, you can modify reports, because you're the owner and creator of the report. Quando l'utente condivide un report con i colleghi, questi ultimi possono interagire con il report esclusivamente nella visualizzazione di lettura.When you share your report with colleagues, often they can only interact with the report in Reading view. Sono consumer dei report nell'Area di lavoro personale dell'utente.They are consumers of reports in your My workspace.
Passaggio 2: Creare un grafico in un reportStep 2: Create a chart in a report
Ora che si è connessi ai dati, è possibile iniziare l'esplorazione.Now that you've connected to data, start exploring. Quando si trova qualcosa di interessante, è possibile salvarlo nel canvas del report.When you've found something interesting, you can save it on the report canvas. È quindi possibile aggiungerlo a un dashboard per monitorarlo e vedere come cambia nel tempo.Then you can pin it to a dashboard to monitor it and see how it changes over time. Prima è tuttavia necessario eseguire alcune operazioni preliminari.But first things first.
Nell'editor di report iniziare nel riquadro Campi sul lato destro della pagina per creare una visualizzazione.In the report editor, start in the Fields pane on the right side of the page to build a visualization. Selezionare il campo Gross Sales e quindi il campo Date.Select the Gross Sales field, then the Date field.
Power BI analizza i dati e crea una visualizzazione con istogramma.Power BI analyzes the data and creates a column chart visualization.
Nota
Se prima di Gross Sales è stato selezionato il campo Date, viene visualizzata una tabella.If you selected the Date field first instead of Gross Sales, you see a table. Nessun problema.No worries! Si modificherà la visualizzazione nel passaggio successivo.We're going to change the visualization in the next step.
Accanto ad alcuni campi è presente il simbolo sigma perché Power BI ha rilevato che contengono valori numerici.Some fields have sigma symbols next to them because Power BI detected that they contain numeric values.
Si cambierà ora la modalità di visualizzazione dei dati.Let's switch to a different way of displaying this data. I grafici a linee sono elementi visivi efficaci per la visualizzazione dei valori nel tempo.Line charts are good visuals for displaying values over time. Selezionare l'icona Grafico a linee dal riquadro Visualizzazioni.Select the Line chart icon from the Visualizations pane.
Il grafico sembra interessante, quindi lo si aggiungerà a un dashboard.This chart looks interesting, so let's pin it to a dashboard. Passare il puntatore del mouse sulla visualizzazione, quindi selezionare l'icona Aggiungi.Hover over the visualization and select the pin icon.
Dato che il report è nuovo, è necessario salvarlo prima di poter aggiungere una visualizzazione a un dashboard.Because this report is new, you're prompted to save it before you can pin a visualization to a dashboard. Assegnare un nome al report, ad esempio Financial Sample report, e quindi scegliere Salva.Give your report a name (for example, Financial Sample report), then Save.
A questo punto il report è in modalità di visualizzazione di lettura.Now you're looking at the report in Reading view.
Selezionare di nuovo l'icona Aggiungi.Select the Pin icon again.
Selezionare Nuovo dashboard e assegnargli un nome, ad esempio Financial Sample dashboard.Select New dashboard and name it Financial Sample dashboard, for example.
Un messaggio di operazione completata (nell'angolo superiore destro) informa l'utente che la visualizzazione è stata aggiunta come riquadro al dashboard.A success message (near the top-right corner) lets you know the visualization was added as a tile to your dashboard.
Una volta aggiunta, la visualizzazione viene archiviata nel dashboard.Now that you've pinned this visualization, it's stored on your dashboard. I dati rimangono aggiornati per consentire di tenere traccia del valore più recente in modo immediato.The data stays up-to-date so you can track the latest value at a glance. Se tuttavia si modifica il tipo di visualizzazione nel report, la visualizzazione nel dashboard rimane invariata.However, if you change the visualization type in the report, the visualization on the dashboard doesn't change.
Selezionare Vai al dashboard per visualizzare il nuovo dashboard con il grafico a linee aggiunto sotto forma di riquadro.Select Go to dashboard to see your new dashboard with the line chart that you pinned to it as a tile.
Selezionare il nuovo riquadro nel dashboard.Select the new tile on your dashboard. Power BI reindirizzerà l'utente al report nella visualizzazione di lettura.Power BI returns you to the report in Reading view.
Per tornare alla visualizzazione di modifica, selezionare Altre opzioni (...) nella barra dei menu > Modifica.To switch back to Editing view, select More options (...) in the menu bar > Edit.
Una volta tornati nella visualizzazione di modifica, è possibile continuare a esplorare e ad aggiungere i riquadri.Back in Editing view, you can continue to explore and pin tiles.
Passaggio 3: Esplorare i dati con Domande e risposteStep 3: Explore with Q&A
Per l'esplorazione rapida dei dati, provare a formulare una domanda nella casella Domande e risposte.For a quick exploration of your data, try asking a question in the Q&A question box. Domande e risposte consente di eseguire query in linguaggio naturale sui dati.Q&A lets you ask natural-language queries about your data. In un dashboard la casella Domande e risposte si trova nella parte superiore (Porre una domanda sui dati) sotto la barra dei menu.In a dashboard, the Q&A box is at the top (Ask a question about your data) under the menu bar. In un report la casella si trova invece nella barra dei menu superiore (Poni una domanda).In a report, it's in the top menu bar (Ask a question).
Per tornare al dashboard, selezionare Area di lavoro personale nella barra di intestazione nera di Power BI.To go back to the dashboard, select My workspace in the black Power BI header bar.
Nell'Area di lavoro personale selezionare il dashboard.In My workspace, select your dashboard.
Selezionare Porre una domanda sui dati.Select Ask a question about your data. Domande e risposte offre automaticamente vari suggerimenti.Q&A automatically offers a number of suggestions.
Nota
Se non vengono visualizzati i suggerimenti, attivare Nuova esperienza Domande e risposte.If you don't see the suggestions, turn on New Q&A experience.
Alcuni suggerimenti restituiscono un singolo valore.Some suggestions return a single value. Selezionare, ad esempio, what is the average cog.For example, select what is the average cog.
Domande e risposte cerca una risposta e la presenta sotto forma di visualizzazione scheda.Q&A searches for an answer and presents it in the form of a card visualization.
Selezionare Aggiungi oggetto visivo e aggiungere la visualizzazione al dashboard Financial Sample.Select Pin visual and pin this visualization to the Financial Sample dashboard.
Tornare a Domande e risposte e selezionare Mostra tutti i suggerimenti.Go back to Q&A and select Show all suggestions.
Selezionare total profit by country.Select total profit by country.
Aggiungere anche la mappa al dashboard Financial Sample.Pin the map to the Financial Sample dashboard, too.
Nel dashboard selezionare la mappa appena aggiunta.On the dashboard, select the map you just pinned. Si noterà che la casella Domande e risposte viene aperta di nuovo.See how it opens Q&A again?
Posizionare il cursore dopo by country nella casella Domande e risposte e digitare as bar.Place the cursor after by country in the Q&A box and type as bar. Verrà creato un grafico a barre con i risultati.Power BI creates a bar chart with the results.
Aggiungere anche il grafico a barre al dashboard Financial Sample.Pin the bar chart to your Financial Sample dashboard, too.
Selezionare Chiudi Domande e risposte per tornare al dashboard dove sono visibili i nuovi riquadri creati.Select Exit Q&A to return to your dashboard, where you see the new tiles you created.
Si noterà che, anche se la mappa è stata modificata in un grafico a barre in Domande e risposte, nel riquadro è rimasta una mappa, perché questa era l'impostazione al momento dell'aggiunta.You see that even though you changed the map to a bar chart in Q&A, that tile remained a map because it was a map when you pinned it.
Passaggio 4: Riposizionare i riquadriStep 4: Reposition tiles
È possibile ridisporre i riquadri per sfruttare al meglio lo spazio del dashboard.We can rearrange the tiles to make better use of the dashboard space.
Trascinare l'angolo inferiore destro del riquadro del grafico a linee Gross Sales verso l'alto, fino a quando non si blocca alla stessa altezza del riquadro Sales, quindi rilasciare.Drag the lower-right corner of the Gross Sales line chart tile upward, until it snaps at the same height as the Sales tile, then release it.
Ora i due riquadri hanno la stessa altezza.Now the two tiles are the same height.
Selezionare Altre opzioni (...) per il riquadro Average of COGS > Modifica dettagli.Select More options (...) for the Average of COGS tile > Edit details.
Nella casella Riquadro digitare Average Cost of Goods Sold > Applica.In the Title box, type Average Cost of Goods Sold > Apply.
Ridisporre gli altri oggetti visivi per adattarli allo spazio disponibile nel dashboard.Rearrange the other visuals to fit together.
L'aspetto è migliore.That looks better.
Pulire le risorseClean up resources
Dopo aver completo l'esercitazione, è possibile eliminare il set di dati, il report e il dashboard.Now that you've finished the tutorial, you can delete the dataset, report, and dashboard.
Selezionare Area di lavoro personale nella barra di intestazione nera di Power BI.Select My workspace in the black Power BI header bar.
Selezionare Altre opzioni (...) accanto al set di dati Financial Sample > Elimina.Select More options (...) next to the Financial Sample dataset > Delete.
Viene visualizzato l'avviso Verranno eliminati anche tutti i riquadri dei report e dei dashboard che contengono dati da questo set di dati.You see a warning that All reports and dashboard tiles containing data from this dataset will also be deleted.
Selezionare Elimina.Select Delete.
Passaggi successiviNext steps
Esplorare queste raccolte di contenuti di Microsoft Learn per Power BI:Explore these collections of Microsoft Learn content for Power BI: