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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

query and Filter out different sets of data under different situations

When I'm doing the Power query, is there any method similar to If condition to do the following actions:

1. If the data less than 4, then I filter out this set of data as query results

2. If the data larger or equal to 4, then I filter out another set of data as query results

3. Under different situations I use different data to make queries as I'll link with Power Automate for later use. 

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous 

 

Is it expected to happen when filtering rows in a table or querying data from the data source? The answer may be different due to different data sources and different requirements. Can you provide some more details to describe the scenario? Using some dummy sample data and expected result will help us understand your requirement better. 

 

Best Regards,
Jing

dufoq3
Super User
Super User

Hi @Anonymous, yes it is possible. If you want to know more, provide sample data as table (not a screenshot) and expected result based on sample data.


Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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