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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
webportal
Impactful Individual
Impactful Individual

Connect Power BI Desktop to insightly

Hello,

 

It doesn't seem possible to connect Power BI Desktop to Insightly although there's a content pack for Power BI Service.

Is there a workaround, if we need to build a data model and/or add calculated measures? E.g. use the content pack for the service and then connect Desktop to Power BI service?

 

Or any better suggestion? Thank you for helping with this!

1 ACCEPTED SOLUTION
webportal
Impactful Individual
Impactful Individual

Figured out I had to Base64 encode the API Key.

 

This worked so far with some limitations:

 

let
    Source = Json.Document(Web.Contents("https://api.insight.ly/v2.2/Contacts", [Headers=[Authorization="Basic ***********", ContentType="application/json"]])),
    #"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
    #"Expanded {0}" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"CONTACT_ID", "SALUTATION", "FIRST_NAME", "LAST_NAME", "BACKGROUND", "IMAGE_URL", "DEFAULT_LINKED_ORGANISATION", "OWNER_USER_ID", "DATE_CREATED_UTC", "DATE_UPDATED_UTC", "VISIBLE_TO", "VISIBLE_TEAM_ID", "VISIBLE_USER_IDS", "CUSTOMFIELDS", "ADDRESSES", "CONTACTINFOS", "DATES", "TAGS", "LINKS", "CONTACTLINKS", "CAN_EDIT", "CAN_DELETE", "SOCIAL_LINKEDIN", "SOCIAL_FACEBOOK", "SOCIAL_TWITTER", "ASSISTANT_NAME"}, {"CONTACT_ID", "SALUTATION", "FIRST_NAME", "LAST_NAME", "BACKGROUND", "IMAGE_URL", "DEFAULT_LINKED_ORGANISATION", "OWNER_USER_ID", "DATE_CREATED_UTC", "DATE_UPDATED_UTC", "VISIBLE_TO", "VISIBLE_TEAM_ID", "VISIBLE_USER_IDS", "CUSTOMFIELDS", "ADDRESSES", "CONTACTINFOS", "DATES", "TAGS", "LINKS", "CONTACTLINKS", "CAN_EDIT", "CAN_DELETE", "SOCIAL_LINKEDIN", "SOCIAL_FACEBOOK", "SOCIAL_TWITTER", "ASSISTANT_NAME"})
in
    #"Expanded {0}"

View solution in original post

17 REPLIES 17

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.