cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
haque
New Member

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
Super User II
Super User II

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

View solution in original post

2 REPLIES 2
wdx223_Daniel
Super User II
Super User II

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

View solution in original post

mahoneypat
Super User IV
Super User IV

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
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Kudoed Authors