Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Alright.... So I want to create a measure that will sum up the number of pages visited per session.
I want to sum the count of the URL column for each UnqSession, and have the ability to average it over time or industry (etc)
I can lay it out in PBI Table and it looks like this, but I need measures so I can look at averages by month, etc..
Solved! Go to Solution.
@bigfun ,
Count till Date avg above that
AverageX(Values(Table[Date]), Calculate(Distinctcount(Table[PageID])))
Count till Month avg above that
AverageX(Values(Table[Month Year]), Calculate(Distinctcount(Table[PageID])))
you can use count in place of Distinctcount
Hi,
In the Query Editor, seperate the Date and time stamp in 2 columns from the Eventtime column. Create a Calendar Table with calculated column formulas for Year, Month name and Month number. Sort the Month name by the Month number. Create a relatinoship (Many to One and Single) between the Event Date column and Date column of the Calendar Table. To your visual, drag Year and Month name from the Calendar Table.
Write this measure
Measure = counta(Data[URL])
Hope this helps.
Thank y'all so so much
Hi,
In the Query Editor, seperate the Date and time stamp in 2 columns from the Eventtime column. Create a Calendar Table with calculated column formulas for Year, Month name and Month number. Sort the Month name by the Month number. Create a relatinoship (Many to One and Single) between the Event Date column and Date column of the Calendar Table. To your visual, drag Year and Month name from the Calendar Table.
Write this measure
Measure = counta(Data[URL])
Hope this helps.
@bigfun ,
Count till Date avg above that
AverageX(Values(Table[Date]), Calculate(Distinctcount(Table[PageID])))
Count till Month avg above that
AverageX(Values(Table[Month Year]), Calculate(Distinctcount(Table[PageID])))
you can use count in place of Distinctcount
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
146 | |
87 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |