Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
Hi Raju,
Now its working Fine otherthen TOPN.
hi @Anonymous ,
TOPN returns a table, you can't CALCULATE a table directly. What do you plan to do with the top3 table?
Hi Freeman,
i am trying to get top 3 customer from the given table based on condition
Hi @Anonymous - can you try below measure
Test for TOP =
TOPN(3,
FILTER('2425', '2425'[SBUName]="AI & ML"),
'2425'[ValuesinLakhs],
DESC
)
Hope it works
Proud to be a Super User! | |
Hi Raju,
Its says same error..
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
)
Proud to be a Super User! | |
No Luck Raju.
Hi @Anonymous -pls use below measure
Proud to be a Super User! | |
Hi Raju,
TOPN function not filtering also total value calculattion showing wrong values
hi @Anonymous ,
this shall already work. could you paste a link for your sample file?
HI Freeman,
Please find the sample data link..
https://drive.google.com/file/d/1dghNAIA1KugRnjBYfrLZ8Dj4h0bOh-4O/view?usp=drive_link
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |