cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jpapador
Frequent Visitor

Only load dates where day = 1

I have a list of dates in my source table, I would only like to pull in records where the day of the date is 1 (IE just pull in the first of the month records)  How can you do that in the query editor?

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @jpapador,

 

 

Add a custom column with the following sintax:

Date.Day ([Date])

Then filter it by day 1 and delete the custom colum:

 

Date_filter.gif

 

Regards,

MFelix


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

1 REPLY 1
MFelix
Super User
Super User

Hi @jpapador,

 

 

Add a custom column with the following sintax:

Date.Day ([Date])

Then filter it by day 1 and delete the custom colum:

 

Date_filter.gif

 

Regards,

MFelix


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Winner of T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Find out who won the T-Shirt Design Challenge and the top 3 finalists.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.