Scenario summary
The customer initially encountered a refresh failure with the following error:
To resolve this, the customer modified the Power Query (M) code to make it more robust, primarily by improving error handling and attempting to remove or handle blank values.
- Original M code was working but failed on refresh due to the error above.
- Updated M code successfully handled the error and allowed the refresh to complete.
Observed behavior
After applying the updated M code, the existing relationship between the RLS (Row-Level Security) table and the MOA table was automatically removed without any warning or notification.
As a result, the semantic model was left in a vulnerable state until the customer manually identified and fixed the broken relationship. During this period, RLS behavior was impacted.
Customer understanding
The customer understands why this happened from a technical perspective:
- The M code changes affected the underlying data shape (rows / key values).
- This caused the relationship to be invalidated.
However, the customer expressed concern that no warning was shown before or after applying the change, especially given the impact on RLS and model security.
Feedback / Feature consideration
The customer would have expected some form of safeguard, such as:
- A warning when applying query changes that affect columns or keys used in relationships (especially RLS-related relationships), or
- A notification indicating that model relationships were removed or invalidated as a result of the change, or
- A rollback or review mechanism when model-impacting changes are detected.
A warning or validation step when working with semantic models—particularly when changes affect relationships or RLS dependencies—could help prevent similar issues and reduce the risk of production-impacting scenarios.
Recent ideas
Justification Prompts When Downgrading or Removing Sensitivity Labels in Power BI Desktop
Description Currently, organizations can configure Microsoft Purview sensitivity label policies to require users to provide a justification when removing a label or lowering its classification. T...vvargasv10 hours agoMicrosoft EmployeeNew11Views0likes0CommentsVisual Type Defaults in Visualization Pane
This would change my life with fussy clients and client/public facing apps. In addition, it would allow me to add more value to the clients on retainers who do not have the 'hours' to allocate to...IolaWhiteley11 hours agoAdvocate IINew45Views7likes0CommentsMatrix: column totals as a bar chart docked to the edge
What's missing Data bars already work on the Total row and column through conditional formatting, so row totals can be read as length. Column totals cannot: they render as a horizontal bar inside a ...Sayurivalente12 hours agoRegular VisitorNew78Views6likes1CommentAllow Bookmarks to Affect Multiple Report Pages
Description: I would like to request the ability for a single Power BI bookmark to affect and maintain a state across multiple report pages, rather than being limited to a single page. For example,...Josegonzalez2112 hours agoNew MemberNew20Views4likes1CommentFeature Proposal: Expandable/Collapsible Page Sections for Reports on Same Semantic Model
Subject: Feature Proposal: Expandable/Collapsible Page Sections for Reports Using the Same Semantic Model Dear Microsoft Power BI Team, I would like to propose an enhancement to the Power BI report...Dr7awb12 hours agoNew MemberNew32Views1like1Comment