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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
Microsoft Employee
Microsoft 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
Microsoft Employee
Microsoft 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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors