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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
maxduff59
Helper II
Helper II

Connect Power Bi to Chuck Norris API

Hello everybody,

I am trying to follow a Youtube Video which describe how to get data from the Chuck Norris API (link: https://www.youtube.com/watch?v=FuGZoRkRmyI). However, when she is trying to connect to the API she do not face any difficulties whereas, personnally, I have an error which say that the connection is impossible.

 

Capture d’écran 2022-09-27 à 11.50.38.png

1 ACCEPTED SOLUTION

Could you try the script below to see it works?

Then try from scratch using the following URL:

https://api.chucknorris.io/jokes/random

If either of these work, you might have network or firewall issue.  I would try testing in another application like Postman or VS Code to confirm that it is not a Power BI issue.

View solution in original post

4 REPLIES 4
maxduff59
Helper II
Helper II

Capture d’écran 2022-09-27 à 12.06.25.png

 

I cannot access to the Advanced Editor screen because the error appears on the screen 

Could you try the script below to see it works?

Then try from scratch using the following URL:

https://api.chucknorris.io/jokes/random

If either of these work, you might have network or firewall issue.  I would try testing in another application like Postman or VS Code to confirm that it is not a Power BI issue.

It still do not work. Is it possible that it comes from the fact that I am using Power Bi on a Mac through Parallels Desktop ?

Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @maxduff59 - could you please share the code from the Advanced Editor screen?  Does it look like this?

let
    Source = Json.Document(Web.Contents("https://api.chucknorris.io/jokes/random")),
    #"Converted to Table" = Table.FromRecords({Source}),
    #"Expanded categories" = Table.ExpandListColumn(#"Converted to Table", "categories")
in
    #"Expanded categories"

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors