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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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)"
)
)
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
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.