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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
r8_k9
New Member

Powe query

I have table with 12 columns, i want to filter out the values from 1st column based on the records of the 2nd column.

ex:

column1     column2

xxx                  1

yyy                  0

 

i should get xxx because i have 1 in column 2

Kindly help me with this

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @r8_k9 

 

To filter rows, you can click the DownArrow icon on column header of the second column and select only 1 in the listed values. Then click OK. Is this what you want?

vjingzhang_0-1668410807290.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @r8_k9 

 

To filter rows, you can click the DownArrow icon on column header of the second column and select only 1 in the listed values. Then click OK. Is this what you want?

vjingzhang_0-1668410807290.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

r8_k9
New Member

Tried this, Its throwing error " A table of multiple values was supplied where a single value was expected"

KT_Bsmart2gethe
Impactful Individual
Impactful Individual

Hi @r8_k9 ,

 

Based on your explanation and example, if the formula below what you after?

 

Table.SelectRows(table, each [column2] = 1)

 

Regards

KT

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Top Solution Authors