Forum Discussion
Anonymous
1 year agoNot applicable
Topn error
Hi, Can Anyone help, Why my TOPN not filting the value, Its showing below error The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.
rajendraongole1
1 year agoSuper User
Hi Anonymous - can you try below measure
Test for TOP =
TOPN(3,
FILTER('2425', '2425'[SBUName]="AI & ML"),
'2425'[ValuesinLakhs],
DESC
)
Hope it works
Anonymous
1 year agoNot applicable
Hi Raju,
Its says same error..
- rajendraongole11 year agoSuper User
Hi Anonymous - can you try below updated with sumx
Test for TOP =
TOPN(
3,
FILTER('2425', '2425'[SBUName] = "AI & ML"),
SUMX('2425', '2425'[ValuesinLakhs]),
DESC
)- Anonymous1 year agoNot applicable
No Luck Raju.
- rajendraongole11 year agoSuper User
Hi Anonymous -pls use below measure
Test for TOP =CALCULATE(SUMX(TOPN(3,FILTER('Tableinfo', 'Tableinfo'[SBUName] = "AI & ML"),'Tableinfo'[ValuesinLakhs],DESC),'Tableinfo'[ValuesinLakhs]))working for me