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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

How to rows based on a certain condition?

I have a column in table named 'Count'. I want to only keep those records in the table where the value in count column is greater than 4. Idea behind this is, if the value in the count column is less than 4 then those records should not be involved in any further calculations that U shall be doing.

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @Anonymous ,

 

How about filtering in Power Query?

vstephenmsft_0-1672734626313.pngvstephenmsft_1-1672734637262.pngvstephenmsft_2-1672734642693.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-stephen-msft
Community Support
Community Support

Hi @Anonymous ,

 

How about filtering in Power Query?

vstephenmsft_0-1672734626313.pngvstephenmsft_1-1672734637262.pngvstephenmsft_2-1672734642693.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Im getting below error -

StoryTeller12_0-1670831098519.png

 

Vijay_A_Verma
Super User
Super User

Use following type of construct where Source is your previous step

= Table.SelectRows(Source, each ([Count] > 4))

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

Top Solution Authors
Top Kudoed Authors