cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

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

Accepted Solutions
Community Support
Community Support

Hi @madamm 

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
Super User II
Super User II

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

Community Support
Community Support

Hi @madamm 

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

Helpful resources

Announcements
November Update

Check it Out!

Click here to read more about the November 2020 Updates!

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform October Community Highlights

Check out the top community contributors across all of the communities

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors