Provide username function in Power Query - M or DAX calculated columns
Thanks for sharing this idea and for explaining the scenario. I can definitely understand why having access to the current user could feel useful, especially for scenarios where you want the experience or data to vary by user.
From a technical standpoint, though, Power Query M operates primarily in the context of data connections and refresh. In M, the concept of a “user” is generally tied to the credentials configured for a specific data source, rather than the person currently viewing or consuming a report.
If Power Query had a function that returned the user authoring a query in the Power Query editor, that value might only be meaningful during the authoring session. Once the semantic model is published, refresh happens in the service, outside of that authoring context. At that point, the value could reflect the identity or environment used for refresh rather than the report viewer. Also, because Power Query results are materialized during refresh, the value would become fixed until the next refresh, meaning all report consumers would see the same value rather than their own username.
For scenarios where data should vary by user, the recommended approach is usually to use supported single sign-on capabilities with the data source, or to implement a role-based design in the semantic model, such as row-level security.
If the goal is to explore a more built-in capability for user-aware behavior, it may be worth creating a separate idea focused specifically on supporting that at the semantic model layer, rather than through Power Query or a new M function. That would help frame the request around the part of the platform that is better positioned to evaluate the current report consumer and apply user-specific behavior.
We appreciate the feedback, though. It’s helpful to understand the kinds of personalization and security scenarios customers are trying to support, and we’ll continue to take that input into account as we evaluate future improvements.
Recent ideas
Dedicated Fabric Message Center to communicate planned Fabric Changes
Summary Microsoft recently rolled out a change that automatically enabled the Item Recovery tenant setting in Microsoft Fabric for tenants where the setting had not been explicitly configured. Accor...Edgar_7 hours agoNew MemberNew29Views5likes0CommentsWorkspace-Level Control of Storage Modes (Import vs DirectQuery vs Direct Lake)
Organizations operating under strict governance and data residency requirements need the ability to control which storage modes are permitted within a workspace. Currently, report authors can choose...masoodaftab7 hours agoNew MemberNew5Views0likes0CommentsGranular Workspace Permissions Beyond Workspace Roles
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } The current workspace access model is limited to the predefined workspac...masooddevcorp8 hours agoNew MemberNew15Views1like0CommentsAccessibility issue in the Share dialog of embedded Power BI reports
Accessibility issue in the Share dialog of embedded Power BI reports I would like to share an accessibility finding identified while testing an embedded Power BI report published as part of the cont...ugartema11 hours agoNew MemberNew10Views1like0Comments