Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Solved! Go to Solution.
Hi @roger360 ,
Here’s a corrected version of your measure:
TopTeam =
VAR TopTeamTable =
ADDCOLUMNS(
SUMMARIZE(
FILTER(
Table15924,
NOT(ISBLANK(Table15924[Redirection to?]))
),
Table15924[Redirection to?]
),
"Count", CALCULATE(COUNTROWS(Table15924))
)
VAR MaxCount = MAXX(TopTeamTable, [Count])
RETURN
CALCULATE(
FIRSTNONBLANK(Table15924[Redirection to?], 1),
FILTER(TopTeamTable, [Count] = MaxCount)
)
Hi @roger360 ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If our responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @roger360
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @roger360 ,
Here’s a corrected version of your measure:
TopTeam =
VAR TopTeamTable =
ADDCOLUMNS(
SUMMARIZE(
FILTER(
Table15924,
NOT(ISBLANK(Table15924[Redirection to?]))
),
Table15924[Redirection to?]
),
"Count", CALCULATE(COUNTROWS(Table15924))
)
VAR MaxCount = MAXX(TopTeamTable, [Count])
RETURN
CALCULATE(
FIRSTNONBLANK(Table15924[Redirection to?], 1),
FILTER(TopTeamTable, [Count] = MaxCount)
)
Try this
TopTeam =
VAR TopTeamTable =
ADDCOLUMNS(
Filter(
ALL(Table15924[Redirection to?]),
Not ISBLANK(Table15924[Redirection to?])
),
"@Count", CALCULATE(COUNTROWS(Table15924))
)
Return
MAXX(
TOPN(1, TopTeamTable, [@Count], DESC),
Table15924[Redirection to?]
)
Its showing error:
Added a missing comma, need on row 11 on your image
User | Count |
---|---|
59 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
78 | |
62 | |
45 | |
40 | |
39 |