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
About "Download SQL database project" and fix the downloaded project
1. The sqlproj must be fixed, it is downloaded without the xml markup line <?xml version="1.0" encoding="utf-8"> 2. The sdk must be updated: Actual: <Sdk Name="Microsoft.Build.Sql" Version="0.1...Jarrinf2 hours agoFrequent VisitorNew48Views3likes2CommentsEventstream MQTT broker source: V3.1.1 support
The Eventstream MQTT broker source supports connections with public MQTT brokers that offer MQTT V5 support. Please offer support for V3.1.1 too, because this is still a valid and widely used ver...svelde3 hours agoSuper UserCompleted1.4KViews6likes4CommentsGet data from Apache Kafka topics via private networking
Current prerequisites limit to public Kafka instances which is not feasible for most enterprise customers. When will this limitation be lifted so that it can be used in private network setups, for ...Jugi3 hours agoMicrosoft EmployeePlanned3.5KViews2likes3CommentsSet default x axis scrolling position
Enable selection of the default scroll position for the x-axis on a chart. For example, on a line chart with dates as the x-axis, when not all of the data can display in the view at once, the scroll...Lisa_Krieg11 hours agoNew MemberNeeds Votes7.8KViews1154likes104Comments