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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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