Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

How to list values which has data first from a distinct list

Hi there,

 

I have a chicklet slicer which has a list. (proivdes a distinct values) Some of it has corresponding data some dont. 

 

For example (the below report has same concept):

 

There are 50 states in US. However there could be data only for lets say 10 states. I would like my 10 states to surface first on the list. (Refer screenshot below)

 

2 tables

- State

- Data (joined based on StateID) 1 to many bidirectional relationship 

 

let me know if you are able to download the sample pbix

https://drive.google.com/file/d/1_0nT611GoJMAZ4PCyEMChENa_O78NqSW/view?usp=sharing

 

1.png

 

Thanks,
AJ

10 REPLIES 10
mh2587
Super User
Super User

https://drive.google.com/file/d/1MRAdGoHzQB7tvbNDRffsRv-SuBkqPUo8/view?usp=sharing

i have made some changes with your pbix please proceed with same logic in file hope you will get it


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Anonymous
Not applicable

Thank you for your time. I noticed when i click the benefits on the top, the left side list does not change.

 

The intent im trying to use * is because the chicklet does not allow to set background color of the chicklets to the ones which have data.

If you select any of category the top visual will automatically change 


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Anonymous
Not applicable

Is there a way to make the category visuals change when Departments are clicked as well?

Since users can click both ways.

oh Sorry put the *category column from department in the left visual then it will work


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



mh2587
Super User
Super User

You need calculted table in which create two column "Expected List" and " Sorting array" and then sort the expected list column through sorted array that contain numerical values 1 to n records


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



smpa01
Super User
Super User

@Anonymous  upload the pbix in g/1 drive and share the link here

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
Anonymous
Not applicable

Thank you. I have posted the pbix as a link in the original post. Plz let me know if the link works.

@Anonymous  you can do the following set up, it will only show the departments for which that measure has data.

 

smpa01_0-1641398847986.png

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
Anonymous
Not applicable

Thank you. However we need all the categories. Listing out all categories is necessary since they get to know the categories and enter data (via other apps) accordingly. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.