Hi Sergio,
SAM's solar model require more than just the GHI data. Please see the "Weather Data Elements" topic in SAM's Help system (under "Weather Data" in the table of contents). The table there shows what data is required for each performance model in SAM. You can also refer to the "SAM CSV Formats for Solar" topic for a description of the weather file format.
Best regards,
Paul.