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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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
Community Champion
Community Champion

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.