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 September 15. Request your voucher.
When I am applying a TOP 5 visual level filter am getting 7 values, I think its due to the measure having same values,
so how to show TOP 5 values, it should not be hardcoded, even if i select 10 items in Scenario name slicer, it should show only top 5 among them
Hi @Anonymous ,
Please try this measure:
Rank =
RANKX(
ALLSELECTED(Sheet1),
FIRSTNONBLANK(Sheet1[TNR], 1),
,
ASC,
Dense
)
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous ,
Click on filter property of that table --> Select ScenarioName --> Filter Type to Top N --> Enter 5 in Show Items value --> By Value option drag your TNR field.
Dont forget to hit THUMBS UP and Accept this as a solution if it helps you!
User | Count |
---|---|
65 | |
62 | |
60 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
47 | |
44 |