cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ldrivinghawk
Regular Visitor

Sendgrid Connection For Desktop Version

Hi there,

 

Wondering why the sendgrid connection is available for the online version but not the desktop version.

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support

Hi @ldrivinghawk,

 

Currently, Power BI desktop doesn't provide built-in Sendgrid connector. You can download Sendgrid template files and .m file from here:

 

- Install the latest PBI Desktop 
- Create a folder called Extensions under: C:\Program Files\Microsoft Power BI Desktop\bin 
- Copy the .m file to that folder 
- Set these 2 environment variables in Windows: 
   PQ_EnableExtensionDeveloper = true 
   PQ_ExtensionDirectory = C:\Program Files\Microsoft Power BI Desktop\bin\Extensions 
- Open the PBIT file

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

12 REPLIES 12
v-qiuyu-msft
Community Support
Community Support

Hi @ldrivinghawk,

 

Currently, Power BI desktop doesn't provide built-in Sendgrid connector. You can download Sendgrid template files and .m file from here:

 

- Install the latest PBI Desktop 
- Create a folder called Extensions under: C:\Program Files\Microsoft Power BI Desktop\bin 
- Copy the .m file to that folder 
- Set these 2 environment variables in Windows: 
   PQ_EnableExtensionDeveloper = true 
   PQ_ExtensionDirectory = C:\Program Files\Microsoft Power BI Desktop\bin\Extensions 
- Open the PBIT file

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks @v-qiuyu-msft , This PBIT file gives email statistics.

Do we have any other PBIT or PBIX which will give us SMS reporting capabilities?

 

Thanks,

Namita

Hi can we get the sendgrid data without any aggregation by using mentioned template files. 

Currently data is aggregated by day.

@DazBox_za ,

For anybody struggling with this, these two additional steps should solve your problems:

 

  1. Open Power BI Desktop. Go to File  --> Options and Settings --> Options --> Security
    • Under "Data Extensions" select the second "not recommended" option to allow extensions to load without validation
    • Select "OK"
    • Close Power BI
  2. Copy the .M file provided to user\Documents\Power BI Desktop\Custom Connectors

 

Open up the provided PBIT file after this, and you should be prompted to enter your SendGrid login details

@gscara @spawnian @PBILover @keribeal 

I've searched the web on how to get SendGrid data into Power BI and was lead to this post. However, I'm unable to get it to work.

 

I've followed the steps outlined in the above posts but never get prompted to log in when opening the pbit file.

@DazBox_za  Thank you very, this solution works!!

but i can see only email statistics reports , how to get data for SMS from sendgrid?

Is there any PBIT/PBIX file for that?

 

Thanks,

Namita

Works like a charm, used it to dump 3 years worth of stats out of a send grid account i'm about to close.

 

Thanks for your help!

 Hi @v-qiuyu-msft how to i set a username & password or API key for this to get my data?

 

The template loads ok but shows no data or prompts for credentials.

 

Thanks in advance.

After following above process, got below error

'Fields that need to be fixed'

Please suggest

 
 

Hi

I tried the solution that you posted and was unable to download any SendGrid data.  I assume that I have to modify the .m file to enter my SendGrid credentials or should the PowerBI file be asking me to provide these.

 

Thanks in advance.

 

 

Did not work for me either..

 

Anyone get this working, or detailed steps required to do so ?

Thank you!

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power BI Dev Camp Session 27

Ted's Dev Camp

This session walks through creating a new Azure AD B2C tenant and configuring it with user flows and custom policies.