This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. 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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 21 | |
| 20 | |
| 20 |