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.
Overall objective:
I am bringing in pageview data from Google Analytics for a given property. Based on the data, I want to be able spot trends in the relative rise or drop in popularity of various pages over any given period of time.
What I have so far:
To start, I have a measure ("Daily Rank") which calculates a page's rank relative to all other pages for a given day, based on the number of pageviews each page received. Here's a mockup of what that data looks like when added to a visual:
I have been able to get to this point using the RANKX function like this:
Daily Rank = Rankx( ALL('All Websites - Pageviews'[Page]), [Total Current Pageviews] )
Where [Total Current Pageviews] is defined as:
Total Current Pageviews = sum([Pageviews])
Now I want to do a few more things:
If I were to pull all this into a visual, I would expect it to look something like the following:
My Question(s):
My assumption here is that once I figure out what that "Cumulative Page Rank" formula should look like, the formula for the "Average Page Rank will follow the same general pattern.
This looks like a measure aggregation problem. See my blog article about that here: https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |