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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Filter and only keep list

Working with json, a column gives mixed data. How can I isolate the "List"s from the remaining lines? One way is to unselect all in the filter. It works for some reason, but is not dynamic. I've tried putting null, [List] and "", but was not succesful. Also is there a specific name/term for this "List"? 

haque_0-1627543124240.png

Intended result:

haque_1-1627543302329.png

Data from AZURE Cognitive Service

1 ACCEPTED SOLUTION
wdx223_Daniel
Community Champion
Community Champion

=Table.SelectRows(#"Changed Type",each [Value] is list)

View solution in original post

2 REPLIES 2
wdx223_Daniel
Community Champion
Community Champion

=Table.SelectRows(#"Changed Type",each [Value] is list)

mahoneypat
Microsoft Employee
Microsoft Employee

Based on your pic, you can now add an Index column, then a Modulo column, and then filter to just the rows with the Lists.

 

Or you can provide some of the JSON text, so a specific solution can be provided.

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.