Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,847
Community Members
 
Community Events
168
Community Groups

How can I connect Trello to Power BI like a Web source?

Edited

We tried this option at work but we don´t have success.

https://community.powerbi.com/t5/Community-Blog/Part-Two-Linking-Power-BI-to-Trello-deep-dive/ba-p/156709

Problema conección Power BI - Trello.jpg

 

Thanks for the help!

3 answers

I managed to get this working with Authentication

I have setup parameters in powerbi/query for

  • The API Key
  • The API Token
  • The board key you want to get information from

This is an example of the code block for the power bi query

let
Source = Json.Document(Web.Contents("https://api.trello.com/1/boards/"&TrelloBoardKey&"/cards?key="&TrelloAPIKey&"&token="&TrelloAPIToken&"")),
#"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error),

If you want to get Card information you can use the

 https://api.trello.com/1/boards/"&TrelloBoardKey&"/cards?

and for lists..

 https://api.trello.com/1/boards/"&TrelloBoardKey&"/lists?

and there are others.

Getting your Keys
To get your API Key go to https://trello.com/app-key
To get your API Token, you get this once you have an API Key you can get a token

trellotoken.jpg


This sums it up..  https://developers.trello.com/page/authorization

References
https://community.powerbi.com/t5/Desktop/Trello-rest-api-as-a-data-source-authentication-issue/m-p/718010#M346519
https://blog.crossjoin.co.uk/2016/08/16/using-the-relativepath-and-query-options-with-web-contents-in-power-query-and-power-bi-m-code/

this one made the trick. thank you. 

Hey thank you for this it worked perfectly.

But I have one issue when I try to export actions it only give 50 rows even though the json clearly has all of them (when you export the Trello board as a json).

Do you know of a way I can get it to bring in more than just 50 rows? It seems to be able to bring in data for every card when it’s set to “cards”, but not “actions”. 

I know there is a limit to the number of items when you try to access it through the RestAPI. the number is 1000.

maybe there is a similar limit to the export? 
or, maybe, you can export only the last actions done on the board because it doesn't export the history?  

If you like to use the API, I can help you.

Nathan

Hello Natan, 

I'm using the api but iI can't obtain more than 50 rows

Can you help me?

Thank you

Paco

it is right, I did it with sucess.
you only need to go to the next step, like this link:
https://databackwriter.com/2017/03/15/getting-actual-trello-cards-into-power-bi/

What did you do? When I tried I had the same issue.

try to follow the link and the next steps

It looks like it requires an open board unfortunately 

one more important thing, the visibility must be in Public

tell me if it works for you

Unfortunately I need to do it with a private board :(

you can use it with private in Public, people will see your trello only if they have your link

hi, 
thanks for the tip, very useful.


did you manage to Model it all? 
it seems I'm still missing action dates and custom fields.

Using a JSON data source in PowerBI is usually quite common. What didn't work in your integration?

If you're using PowerBI, you could look into MS Flow as a lightweight service bus. Flow has connectors for both Trello and PowerBI that could simplify the integration setup. A more robust of feature rich integration via a service bus would require something like Mulesoft to be set up in the middle. Mulesoft would allow two-way one-to-many or many-to-one interactions between systems.

It looks like an authentication issue. 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events