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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Rows get invisible when there is no value

Hi,

I am using a table with column count and I have used Measure for it if data is blank then it should pint 0. 

order id count = if( DISTINCT Count(Query2[OrderID]),BLANK(),0). But when I am using slicer then if there is any blank value then it gets invisible. I want to show the row even if it has no value.Need some help or Tips For it.
 
 
 
1.PNG1.PNG
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Problem solved..

Use zero as text it will work

quick

= if(is blank(COUNT('License Count'[OrderID])),"0",COUNT('License Count'[OrderID]))

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Problem solved..

Use zero as text it will work

quick

= if(is blank(COUNT('License Count'[OrderID])),"0",COUNT('License Count'[OrderID]))
Anonymous
Not applicable

I have tried both the ways it's not working

PC2790
Community Champion
Community Champion

Try adding +0 at the end of the measure like

Measure = Distinct Count(Query2[OrderID])+0

 

This might have performance implications if your data is huge

 

You can use the Count aggregation in the visualisation window and then click on the dropdown of the field in that particular visual and select "Show items with no data"

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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