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
fitordz
New Member

Slicer problem with nulls

Hi guys,

 

I'd like to ask your advice, I have this scenario.

 

I have a table with Contract Number and Amount of Contract. Not all the contracts have an amount, this means there are no Invoices related to those contracts. The problem is I have a slicer of Year with a time dimension, this time dimension is driven by the Invoice date. So when I use the slicer the Contract Number # 101 will dissapear because the Invoice date is null, I was using the COALESCE function to show this Contract Number # 101, COALESCE(SUM(Amount of Contract),0) but this causes all the other slicers in the report become useless, because those will not filter anymore, will show all the rows, with amount 0. Any ideas on a workaround for the COALESCE?

 

Contract NumberAmount of Contract
100$100
101 
102$200
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@fitordz , I create a slicer and there I am able to see contract number.  In table it was not so I use Show item with no data.

Please find the attached file after signature

ShowItemwithoutdata.JPG

 

Please provide your feedback comments and advice for new videos
Tutorial Series Dax Vs SQL Direct Query PBI Tips
Appreciate your Kudos.

 

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@fitordz , I create a slicer and there I am able to see contract number.  In table it was not so I use Show item with no data.

Please find the attached file after signature

ShowItemwithoutdata.JPG

 

Please provide your feedback comments and advice for new videos
Tutorial Series Dax Vs SQL Direct Query PBI Tips
Appreciate your Kudos.

 

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.