You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/synapse-analytics/get-started.md
+25-25Lines changed: 25 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -403,7 +403,7 @@ ORDER BY
403
403
```
404
404
405
405
If you are a user of T-SQL, this syntax will be identical to what you are used to using. This query selects three aggregations from the **Trip** Parquet file and groups them by DateId and PickupGeographyId. After running the query, you should see and output like this;
You can make the results easier to read, by replacing DateId and PickupGeographyId with the actual date and pickup city. This values can be obtained by joining to the **Date** and **Geography** files.
409
409
@@ -440,13 +440,13 @@ ORDER BY
440
440
441
441
```
442
442
After running this query, your output should look like this;
443
-

443
+

444
444
445
445
As you can see, multiple Parquet files can be joined almost as if they were actual SQL views. If you find the **OPENROWSET** syntax a little harder to user to use than regular SQL views, you can solve this by creating a virtual SQL database with SQL views.
446
446
## Create a virtual SQL database.
447
447
448
448
On the **Develop** hub click the **+** to add a new SQL **script**.
449
-

449
+

Ensure that when you run the query, that you are running it using the NYCTaxiVirtual database.
532
-

532
+

533
533
534
534
### Visualize with Power BI
535
535
Your data can now be easily analyzed and visualized in Power BI. Synapse offers a unique integration which allows you to link a Power BI workspace to you Synapse workspace. Before going forward, follow the steps in this [quickstart](quickstart-power-bi.md) to link your Power BI workspace.
536
536
On the **Develop** hub, expand your linked workspace under **Power BI** and click on **Power BI Datasets**.
537
537
538
-

538
+

539
539
540
540
Any existing datasets from you linked Power BI workspace will be displayed here. You can create new reports in Synapse Studio using these Power BI datasets. Let’s create a new Power BI dataset for the virtual database which we created in the last section. Click **+ New Power BI dataset**.
541
541
542
-

542
+

543
543
544
544
While Power BI reports can be created in Synapse Studio, Power BI datasets must be created in the Power BI Desktop. Install the Power BI Desktop if you have not already and then click **Start** once the installation is complete.
545
545
546
-

546
+

547
547
548
548
Select **NYCTaxiVirtual** and click continue.
549
549
550
-

550
+

551
551
552
552
Click **Download** to download the Power BI dataset file (pbids). Open the file when the download is complete to launch the Power BI Desktop. Once the Power BI Desktop has been launched, sign into Synapse by using your Azure Active Directory user account. Then click **Connect**.
553
553
554
-

554
+

555
555
556
556
Select all the views to include in your Power BI dataset and click **Load**.
557
557
558
-

558
+

Click on the **Model** view and create relationships between the three tables by dragging **DateID** from **Trips** and dropping it on **DateID** in **dimDate**.
Create another relationship by dragging **PickupGepgraphyID** from **Trips** and dropping it on **GeographyID** on **dimGeography**. Select **Assume referential integrity** like in the last step. Your model diagram should now look something like below.
Change the **Authentication method** to **OAuth2** and click **Sign in**. Sign in with your Azure Active Directory Account.
603
603
604
-

604
+

605
605
606
606
After publishing, switch back to Synapse Studio and click **Close and refresh**.
607
607
608
-

608
+

609
609
610
610
Click **New Power BI report** next to the name of the Power BI dataset that you just published. Now you can build out your Power BI report direction in Synapse Studio. Don’t forget to save the report when you are finished creating it.
0 commit comments