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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Filter with dates; yes or no

Hi all,

 

I need your support. I've got a list of customers and contact dates (from Salesforce). I want to filter in the way, that every customer with a contact date gets a "yes" and every customer withour contact date gets a "no" in a new column.

 

How do I get this done?

 

Thanks for your support.

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

Hi @Anonymous 

You can use Measure/Calculated Column/Power Query Editor.

In addition to  

Measure:

Measure = IF(ISBLANK(MAX('Table'[Contact Date])),"No","Yes")

Calculated Column:

Column = IF(ISBLANK('Table'[Contact Date]),"No","Yes")

Result:

1.png

You can download the pbix file from this link: Filter with dates; yes or no

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

View solution in original post

2 REPLIES 2
v-rzhou-msft
Community Support
Community Support

Hi @Anonymous 

You can use Measure/Calculated Column/Power Query Editor.

In addition to  

Measure:

Measure = IF(ISBLANK(MAX('Table'[Contact Date])),"No","Yes")

Calculated Column:

Column = IF(ISBLANK('Table'[Contact Date]),"No","Yes")

Result:

1.png

You can download the pbix file from this link: Filter with dates; yes or no

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

lbendlin
Super User
Super User

In Power Query add a conditional column and specify your criteria.

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.

Top Solution Authors
Top Kudoed Authors