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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Dagobert
Regular Visitor

Stop List.Generate when API not return null

Hi,

 

After a product update last weekend my List.Generate don't stop with the each [list] <> null code anymore.

This was the code and the list before update.

Dagobert_0-1700167794012.png

Now the list is returned like this, for the last record with data and the empty record.

Any idea of how to stop it now?

Dagobert_1-1700168011492.png

 

//Dag

 

1 ACCEPTED SOLUTION
Dagobert
Regular Visitor

Hi,

I found a solution by checking the value of a record field like this

 

Dagobert_0-1700203286298.png

 

//Dag

View solution in original post

1 REPLY 1
Dagobert
Regular Visitor

Hi,

I found a solution by checking the value of a record field like this

 

Dagobert_0-1700203286298.png

 

//Dag

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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