Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi
Using Summarize, I created a table that has the year, name & point columns.
Solved! Go to Solution.
To achieve this in Power BI using DAX, you can modify your existing SUMMARIZE
function to include a ranking based on the points, and then filter the table to only include the top record per year. Here’s how you can do it:
Table =
VAR SummaryTable = SUMMARIZE(
constructor_results,
races[year],
constructors[name],
"Total Points", SUM(constructor_results[points])
)
VAR RankedTable = ADDCOLUMNS(
SummaryTable,
"Rank", RANKX(FILTER(SummaryTable, [year] = EARLIER([year])), [Total Points], , DESC, Dense)
)
RETURN
FILTER(
RankedTable,
[Rank] = 1
)
Proud to be a Super User!
To achieve this in Power BI using DAX, you can modify your existing SUMMARIZE
function to include a ranking based on the points, and then filter the table to only include the top record per year. Here’s how you can do it:
Table =
VAR SummaryTable = SUMMARIZE(
constructor_results,
races[year],
constructors[name],
"Total Points", SUM(constructor_results[points])
)
VAR RankedTable = ADDCOLUMNS(
SummaryTable,
"Rank", RANKX(FILTER(SummaryTable, [year] = EARLIER([year])), [Total Points], , DESC, Dense)
)
RETURN
FILTER(
RankedTable,
[Rank] = 1
)
Proud to be a Super User!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
67 | |
51 | |
38 | |
26 |
User | Count |
---|---|
89 | |
52 | |
45 | |
39 | |
38 |