Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have table with 30 column and 200 rows. IN 'prob' column (1) value repeated 66 times and (2) repeated (30) times, how i can make slicer based on top100 . means make slicer that when i put on 100 choose only 66 first row of that comtain 1 and 34 row that contain number of 2 . I used of RANKX for make ranking but still i have 66 number 1 and t rank 67 for first time that 2 appear.
Hi @zahra
You can try to add restriction when using rankx :Dense
Measure = IF(HASONEVALUE(Table2[Prob]),RANKX(ALL(Table2),Table2[Prob],VALUES(Table2[Prob]),ASC)) Measure 2 = IF(HASONEVALUE(Table2[Prob]),RANKX(ALL(Table2),Table2[Prob],VALUES(Table2[Prob]),ASC,Dense))
Result:
If it is not your case, please share pbix or some data sample and expected output. You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.
Best Regards,
Lin
Thanks. But i need somethings like this. index column should be dependent to rank_probility
hi,@zahra
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.