@Mhiri_Ghalia - Are you using the Atlas SQL ODBC Driver?
And are you using the Atlas MongoDB Power BI Connector?
Are you connecting from within Power BI Desktop or via the on-premise Gateway?