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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Larry_Wang
Helper I
Helper I

How to create a table using DAX

Hi Every one,

 

I have a table below and in the Leave Date column there are some blank entries. I want to create a new table that not including the blank date ( only contains user id with leave date ). How to do this in DX?

 

User IDLeave Date
ID01 
ID0210/10/2021
ID03 
ID0411/5/2021
ID0511/6/2021
ID06 
ID0712/4/2021
ID088/26/2021
ID09 
ID109/15/2021
ID11 
ID1211/7/2021
ID133/28/2021
ID147/9/2021
ID157/10/2021
ID16 
ID179/25/2021
ID18 
ID19 

 

Thanks,

 

Larry

1 ACCEPTED SOLUTION
ValtteriN
Super User
Super User

Hi,

Here is an example:

Nonblank = FILTER(nonblanktable,nonblanktable[Leave Date]<>BLANK())
ValtteriN_0-1639638461565.png



I hope this helps to solve your issue and if it does consider accepting this as a solution and giving the post a thumbs up!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
ValtteriN
Super User
Super User

Hi,

Here is an example:

Nonblank = FILTER(nonblanktable,nonblanktable[Leave Date]<>BLANK())
ValtteriN_0-1639638461565.png



I hope this helps to solve your issue and if it does consider accepting this as a solution and giving the post a thumbs up!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @ValtteriN 

 

Thank you again for the quick and good solutions on this issue. It is really what I want.

 

Have a nice day!

 

Larry

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.