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
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
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.

Top Solution Authors
Top Kudoed Authors