Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hello Experts,
I have Raw data as following
let
S = {{1},{0},{0},{2}},
CT = Table.FromList(S, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
AC= Table.AddIndexColumn(CT, "Index", 1, 1)
in
ACIs there a way to select this table with where Column1 lists <>{0} after AC in one step
let
S = {{1},{0},{0},{2}},
CT = Table.FromList(S, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
AC= Table.AddIndexColumn(CT, "Index", 1, 1),
#"Expanded Column1" = Table.ExpandListColumn(AC, "Column1"),
#"Filtered Rows" = Table.SelectRows(#"Expanded Column1", each ([Column1] <> 0))
in
#"Filtered Rows"Desired Output
I want to reach to output from AC in one step. Is it possible ?
Thank you in advance.
Solved! Go to Solution.
let
S = {{1},{0},{0},{2}},
CT = Table.FromList(S, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
AC= Table.AddIndexColumn(CT, "Index", 1, 1),
Custom1 = Table.SelectRows(AC, each [Column1]<>{0})
in
Custom1
Maybe something like this?
let
S = {{1},{0},{0},{2}},
AC= Table.AddIndexColumn(Table.FromList(S, Splitter.SplitByNothing(), null, null, ExtraValues.Error), "Index", 1, 1),
#"Filtered Rows" =
Table.SelectRows(
Table.ExpandListColumn(AC, "Column1"), each ([Column1] <> 0))
in
#"Filtered Rows"
Could also write a fucntion with all the steps and when you call it it will only show the function name. Just a thought
Maybe something like this?
let
S = {{1},{0},{0},{2}},
AC= Table.AddIndexColumn(Table.FromList(S, Splitter.SplitByNothing(), null, null, ExtraValues.Error), "Index", 1, 1),
#"Filtered Rows" =
Table.SelectRows(
Table.ExpandListColumn(AC, "Column1"), each ([Column1] <> 0))
in
#"Filtered Rows"
Could also write a fucntion with all the steps and when you call it it will only show the function name. Just a thought
great @Anonymous appreciate it. Thank you very much for stopping by. Better to have more aresnal and I prefer that way. Thanks for the contribution.
My pleasure. This place is great to see the different ways of solving problems. And always in for a good Power Query question 🙂
let
S = {{1},{0},{0},{2}},
CT = Table.FromList(S, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
AC= Table.AddIndexColumn(CT, "Index", 1, 1),
Custom1 = Table.SelectRows(AC, each [Column1]<>{0})
in
Custom1
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 80 | |
| 40 | |
| 31 | |
| 27 | |
| 27 |