使用电源查询,如何将Exchange数据源限制到特定的电子邮件文件夹

发布于 2025-01-31 15:35:02 字数 473 浏览 2 评论 0原文

我正在寻找的是限制查询范围的一种方法。获取所有帐户,然后导航到邮件和过滤我的需求不是问题。问题在于,这样做可以将超过28 000封电子邮件拿走。

这是M代码的开始:

let
    Source = Exchange.Contents("[email protected]"),
    Mail1 = Source{[Name="Mail"]}[Data],
    #"Other Column deleted" = Table.SelectColumns(Mail1,{"Id", "Body", "Categories", "DateTimeSent"}), 
    ...

任何想法都受到欢迎。

What I am looking for is a way to limit the scope of the query. Getting all the account then navigating to mail and filtering on what I need isn't a issue. The issue is that doing it pulls over 28 000 emails for nothing.

Here is the beginning of the M code :

let
    Source = Exchange.Contents("[email protected]"),
    Mail1 = Source{[Name="Mail"]}[Data],
    #"Other Column deleted" = Table.SelectColumns(Mail1,{"Id", "Body", "Categories", "DateTimeSent"}), 
    ...

Any idea is welcomed.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文