Miscellaneous topics that do not fit into specific categories.
The error means that column Line_number in table MASTER (INPUT TAB) is used on the one side of a many-to-one relationship (or as a primary key), but it contains blank (null) values. For such key columns, Power BI requires every row to have a non-blank value, otherwise refresh fails.
To fix it, adjust the semantic model so that the key column has no blanks, or stop using that column as a key:
- In Power BI Desktop, open the model and go to Model view.
- Locate table
MASTER (INPUT TAB)and columnLine_number. - Check relationships:
- Find relationships where
Line_numberis on the 1 side (the “one” side of a many-to-one relationship) or is used as a primary key.
- Find relationships where
- Fix the data:
- In Power Query (Transform data), ensure
Line_numberhas no null/blank values:- Replace nulls with a valid value, or
- Filter out rows where
Line_numberis blank.
- In Power Query (Transform data), ensure
- Alternatively, change the model:
- Use a different column as the key that has no blanks, or
- Change the relationship so
Line_numberis not on the one side.
- Apply changes, republish the report/semantic model to the Power BI service, and run a manual refresh.
If the refresh continues to fail for other reasons, use the Refresh history page in the Power BI service to inspect detailed error messages and confirm the issue is resolved.
References:
- Data refresh in Power BI
- Troubleshoot refresh scenarios
- Troubleshoot incremental refresh and real-time data
- Troubleshooting unsupported data source for refresh
- Refresh semantic models created from local Power BI Desktop files
- Refresh a Power BI Desktop File (pbix file) stored on OneDrive or SharePoint Online
- Refresh a semantic model created from an Excel workbook on OneDrive or SharePoint Online