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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Kudoed Authors