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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Filter for showing chart null values

Hi Power BI Community!

How can I show the months with zero values - How should I edit my measure/filter?
For example: where is the zero.PNG
Dezember, Januar ,...

Measure=
DoAs DOA =
CALCULATE (
COUNT ( 'Stammdaten Komplett'[ID] );
FILTER ( Dates; MAX ( Dates[Date2] ) > DATE ( 2019; 9; 30 ));
FILTER (
'Stammdaten Komplett';
'Stammdaten Komplett'[PartStatus] = "Dead on arrival (DOA)"
)
)
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thank you for the quick response - I already tried 0 but it destroyed the time fraim

 

0.PNG

I did other measure like this 

= var result = ....
return if(result; result; IF(MAX(Dates[Date2])>DATE(2019;9;30);0; BLANK())) 

but now I need to also filter 
'Stammdaten Komplett'[PartStatus] = "Dead on arrival (DOA)"


View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Try +0

Measure=
DoAs DOA =
CALCULATE (
COUNT ( 'Stammdaten Komplett'[ID] );
FILTER ( Dates; MAX ( Dates[Date2] ) > DATE ( 2019; 9; 30 ));
FILTER (
'Stammdaten Komplett';
'Stammdaten Komplett'[PartStatus] = "Dead on arrival (DOA)"
)
)
Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thank you for the quick response - I already tried 0 but it destroyed the time fraim

 

0.PNG

I did other measure like this 

= var result = ....
return if(result; result; IF(MAX(Dates[Date2])>DATE(2019;9;30);0; BLANK())) 

but now I need to also filter 
'Stammdaten Komplett'[PartStatus] = "Dead on arrival (DOA)"


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.