Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I have a simple table from Google Analytics that look at website pageviews for a online news site.
The table (Views) consist of the following columns:
"Category" "screenPageViews" "pageTitle" "date" and "FullURL"
I have this function that works perfectly:
Hi @Anonymous,
I create some dummy data for demo: Exercise File
Please consider that there is also 'Category' column in your second table.
RankArt =
IF( HASONEVALUE(Views[Category]),
RANKX( ALL(Views[pageTitle],Views[Category]), CALCULATE(SUM(Views[screenPageViews])),,DESC), "")
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Check out the July 2026 Power BI update to learn about new features.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.