The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
hello everyone
i have this measure
Top Bottom =
Var TopRank=
RANKX(ALLSELECTED(Keywords[Search keyword]),[New],,DESC,Dense)
Var BottomRank = RANKX(ALLSELECTED(Keywords),[New],,ASC,Dense)
Var Result=
SWITCH(
TRUE(),
TopRank<=3,1,
BottomRank<=3,-1,
blank())
return
Result
this is result
i dont want to include the blanks
how can i rank without the blanks
@eliasayyy , try like
BottomRank = RANKX(Summarize(filter(ALLSELECTED(Keywords),Keywords[Search keyword], "_1" ,[New]),not(isblank([_1]))), [net],,ASC,Dense)
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
23 | |
14 | |
14 | |
9 | |
7 |