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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
u16815
New Member

Where is null

Hello, fairly new to Power BI and only  just started creating DAX measures!

I have created the measure below 

 

Open Incidents = CALCULATE(COUNT(tincidents[CreatedDate]))

 

But I need to add a where clause which is basically Where tincidents[ClosedDate] is null but cant work it out!

 

Thanks

1 ACCEPTED SOLUTION
v-cazheng-msft
Community Support
Community Support

Hi @u16815,

 

If you still have problems on it, please try this Measure.

 

Open Incidents =
CALCULATE (
    COUNT ( 'tincidents'[CreatedDate] ),
    FILTER ( 'tincidents', ISBLANK ( 'tincidents'[ClosedDate] ) )
)

 

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let me know. Thanks a lot!

 

Best Regards,

Community Support Team _ Caiyun

View solution in original post

2 REPLIES 2
v-cazheng-msft
Community Support
Community Support

Hi @u16815,

 

If you still have problems on it, please try this Measure.

 

Open Incidents =
CALCULATE (
    COUNT ( 'tincidents'[CreatedDate] ),
    FILTER ( 'tincidents', ISBLANK ( 'tincidents'[ClosedDate] ) )
)

 

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let me know. Thanks a lot!

 

Best Regards,

Community Support Team _ Caiyun

SpartaBI
Community Champion
Community Champion

@u16815 try this:

 

Open Incidents = 
	CALCULATE(
		COUNT(tincidents[CreatedDate])
		tincidents[ClosedDate] == BLANK()
		)

 




2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png

Showcase Report – Contoso By SpartaBI


SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Full-Logo11.png

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

Top Solution Authors