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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
alisaleh
Helper I
Helper I

Adding Blank Option to Slicer

Hi ,

 

I have a scenario where there is a relationship where the cardinality is (0:1->* ) so in the many side of the relationship there could value or no value (null) back. Let say theoratically we have a category table and an Item table where the Item can be assigned a category or not. The problem is if I create 
Many:1  relationship between from categoy to Item then I add category slicer, the slicer will show all category values but that means if I select all only the items that are associated with selected categories will be visible in the items table which makes sense but there is no option for (blank). the question is how to add that to the slicer so that I can show items with null\blank category? Thanks

3 REPLIES 3
parry2k
Super User
Super User

@alisaleh can you share an example of what that means? Read this post to get your answer quickly.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

alisaleh
Helper I
Helper I

Thanks @parry2k  for your response.

I wish if its that simple. The Category table and Item table are filtered by project first which means I have to add Uknown record to every project which can be cumbersome.

parry2k
Super User
Super User

@alisaleh if I were you, instead of blank/null, which doesn't look good, replace the null/blank category with "Unknown" in Power Query and add thus "Unknown" in the category table and then it will be user-friendly and will make things more robust. Let's clean the data before start developing the reports.

 

 

Follow us on LinkedIn and YouTube.gif to our YouTube channel

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.