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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
spokrie
New Member

Limit Exchange Connector to specific Dates

I'd like to pull data from my Exchange Calendar, but I'd like to limit it to a specific date range.  Say something like FY2017.  Other than pulling the whole calendar then filetering I don;t see a way to limit the extract.

 

Am I missing something?

 

Thanks,

Scott

2 ACCEPTED SOLUTIONS
parry2k
Super User
Super User

here is an example http://satalyst.com/power-query-creating-a-parameterized-function-in-m/



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

Anonymous
Not applicable

Hi @spokrie,

 

parry2k's solution seems well, you can also use Table.SelectRows function to achieve your requirement.

 

Add step to filter row.

 

#"Filtered Rows" = Table.SelectRows(#"Changed Type", each Date]= "FY2017")

 

 

In addition, you can also use parameter to instead the static value, then you can modify the filter value at report view side.

 

#"Filtered Rows" = Table.SelectRows(#"Changed Type", each Date]= FilterDate)

 

Notice: FilterDate is a parameter which created in query editor.

 

Capture.PNG

 

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
blackwater
New Member

I'm facing the same problem - but original page with solution is missing. Could you please share the solution?

Anonymous
Not applicable

Hi @spokrie,

 

parry2k's solution seems well, you can also use Table.SelectRows function to achieve your requirement.

 

Add step to filter row.

 

#"Filtered Rows" = Table.SelectRows(#"Changed Type", each Date]= "FY2017")

 

 

In addition, you can also use parameter to instead the static value, then you can modify the filter value at report view side.

 

#"Filtered Rows" = Table.SelectRows(#"Changed Type", each Date]= FilterDate)

 

Notice: FilterDate is a parameter which created in query editor.

 

Capture.PNG

 

Regards,

Xiaoxin Sheng

parry2k
Super User
Super User

here is an example http://satalyst.com/power-query-creating-a-parameterized-function-in-m/



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.