Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Torbenan
Helper I
Helper I

website analysis

Hi

I trying to build a report on intranet usage,  which should show the number of page views by sites.

 

In the data below, I would like the to count the number of page views by site:

http://contoso.sharepoint.com/sites/intranet/ has 52 page views

http://contoso.sharepoint.com/sites/intranet/hr/ has 12 page views

http://contoso.sharepoint.com/sites/intranet/hr/handbook has 8 page views

http://contoso.sharepoint.com/sites/intranet/sales/ has 12 paes views

http://contoso.sharepoint.com/sites/intranet/hr/sales/team1/ has 4 pages views 

etc..

 

Can this be done in PowerBi? How?

 

The data, I've got looks like this. I've got one line per pages view in a Azure SQL DB.

 

http://contoso.sharepoint.com/sites/intranet/default.aspx

  

http://contoso.sharepoint.com/sites/intranet/default.aspx

  

http://contoso.sharepoint.com/sites/intranet/default.aspx

  

http://contoso.sharepoint.com/sites/intranet/default.aspx

  

http://contoso.sharepoint.com/sites/intranet/default.aspx

  

http://contoso.sharepoint.com/sites/intranet/hr/holiday.aspx

 

http://contoso.sharepoint.com/sites/intranet/hr/holiday.aspx

 

http://contoso.sharepoint.com/sites/intranet/hr/benifits.aspx

 

http://contoso.sharepoint.com/sites/intranet/hr/default.aspx

 

http://contoso.sharepoint.com/sites/intranet/hr/handbook/

 

http://contoso.sharepoint.com/sites/intranet/hr/handbook/.aspx

 

http://contoso.sharepoint.com/sites/intranet/hr/handbook/.aspx

 

http://contoso.sharepoint.com/sites/intranet/hr/handbook/.aspx

 

http://contoso.sharepoint.com/sites/intranet/hr/handbook/default.aspx.aspx

http://contoso.sharepoint.com/sites/intranet/hr/handbook/.aspx

 

http://contoso.sharepoint.com/sites/intranet/hr/handbook/.aspx

 

http://contoso.sharepoint.com/sites/intranet/hr/handbook/default.aspx.aspx

http://contoso.sharepoint.com/sites/intranet/sales/.aspx

  

http://contoso.sharepoint.com/sites/intranet/sales/.aspx

  

http://contoso.sharepoint.com/sites/intranet/sales/team1/.aspx

 

http://contoso.sharepoint.com/sites/intranet/sales/team1/page2.aspx

http://contoso.sharepoint.com/sites/intranet/sales/team1/default.aspx

http://contoso.sharepoint.com/sites/intranet/sales/team1/page2.aspx

http://contoso.sharepoint.com/sites/intranet/sales/team2/.aspx

 

http://contoso.sharepoint.com/sites/intranet/sales/team2/page3.aspx

http://contoso.sharepoint.com/sites/intranet/sales/team2/pages4.aspx

http://contoso.sharepoint.com/sites/intranet/sales/team2/.aspx

 

http://contoso.sharepoint.com/sites/intranet/sales/team2/default.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productA/page2.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/default.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/page3.aspx

 

http://contoso.sharepoint.com/sites/intranet/prodcution/pages4.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/default.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/page2.aspx

 

http://contoso.sharepoint.com/sites/intranet/prodcution/productA/default.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productA/page3.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productA/pages4.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productA/default.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productA/page2.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productB/default.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productB/page3.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productB/pages4.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productB/page1.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productB/default.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productB/default.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productB/page2.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productB/default.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productB/page3.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productB/pages4.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productB/page1.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productB/default.aspx

http://contoso.sharepoint.com/sites/intranet/prodcution/productB/page2.aspx

 

 

 

 

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @Torbenan,

 

You should first import above data into Power BI desktop.

1.PNG

 

Then, to count page views per site, you can "Group by" data rows.

2.PNG

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yulgu-msft
Employee
Employee

Hi @Torbenan,

 

You should first import above data into Power BI desktop.

1.PNG

 

Then, to count page views per site, you can "Group by" data rows.

2.PNG

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.