cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

Filter by first file of month

Hi

 

please guide

i have attached BI file in which i shared data in that there 4-5 data file from each month. 

 

i wish to be filter first file of that month to be filtered in query editor, also please note i have tried grouping for this as well

 

you may also refer my same query on community Click Here  

 

 

Captusre.JPG

 

Excel Data 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Filter by first file of month

No Worries Super User!

 

Got my answer by using grouping again 

 but Thanks Again

View solution in original post

5 REPLIES 5
fcvidoto Frequent Visitor
Frequent Visitor

Re: Filter by first file of month

CALCULATE(
    FIRSTDATE(data[File Date]),
    ALLEXCEPT('data',data[Month])
)

Re: Filter by first file of month

Thanks
But I wish to be have in query editor i wish to have table like as shown in the shared excel file
fcvidoto Frequent Visitor
Frequent Visitor

Re: Filter by first file of month

Please insert the following code in the last position of power query:

 

= Table.AddColumn(#"Changed Type", "firstDate", each Table.SelectRows(#"Changed Type", 
(n) => n[Month]=_[Month] and n[Year]=_[Year]
){0}[File Date])

 

Re: Filter by first file of month

Thank you and Sorry,

 

By grouping i got the result like the excel pivot table

now i wish to filter that data by first file of the month in query editor.

 

 

Sample Data 

 

Re: Filter by first file of month

No Worries Super User!

 

Got my answer by using grouping again 

 but Thanks Again

View solution in original post

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (4,632)