Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MadhuKumar
Helper II
Helper II

Metrics report refresh got failed

Hi All,

 

I have created a metrics report by using datasets from 2 production workspaces. Since last week it was refreshed successfully, but now the refresh got failed and throughing an error(screenshot attached).

 

Refresh error.PNG

 

Can you please help me on how to fix this issue.

 

Thanks in advance.

 

Madhu

1 ACCEPTED SOLUTION
pradeep_kare12
Resolver I
Resolver I

@MadhuKumar  To reslove this you will need to identify and eliminate the duplicate value in the userid column. For this you can use Power query, in power query select the users table and use the remove duplicate function to identify duplicate values in the userid column. 

 

After you get the duplicate values in your data source, refresh your powerbi data model to ensure it reflects the corrected data. 

 

If the userid column is intended to be the primary key for the users table, verify that its now meets your requirement.

View solution in original post

2 REPLIES 2
MadhuKumar
Helper II
Helper II

Thanks for the help, this solution has been worked out

pradeep_kare12
Resolver I
Resolver I

@MadhuKumar  To reslove this you will need to identify and eliminate the duplicate value in the userid column. For this you can use Power query, in power query select the users table and use the remove duplicate function to identify duplicate values in the userid column. 

 

After you get the duplicate values in your data source, refresh your powerbi data model to ensure it reflects the corrected data. 

 

If the userid column is intended to be the primary key for the users table, verify that its now meets your requirement.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.