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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ryan0521
Frequent Visitor

Return a column if a computed column met the criteria

Hello everyone,

 

I want to return a column if their corresponding criteria has been met, for example;

 

Name2019 Sales2018 SalesSales Growth
Apple   1,365,386.00   1,425,704.00-4.23%
Orange    1,913,488.00   2,116,739.00-9.60%
Grape       697,523.00       691,203.000.91%
Dog       979,273.00   1,097,049.00-10.74%
Cat   1,751,316.00   1,441,230.0021.52%
Fox   3,228,354.00   3,144,902.002.65%

 

I only want to filter names whose sales growth were positive which is computed and not included in the database.

 

hope you can help me with this one.

2 ACCEPTED SOLUTIONS
v-juanli-msft
Community Support
Community Support

Hi @ryan0521 

If you need to filter rows which Sales Growth >0, only keep rows which Sales Growth <=0,

Open edit queries, select "Less than or equal to"

5.png6.png4.png

 

Or in Data model,

7.png

 

Or create a column, then filter out rows=0,

8.png

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
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

Hi @ryan0521 

Yes

You could filter it by filter pane

7.png

 

Best Regards
Maggie

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @ryan0521 

If you need to filter rows which Sales Growth >0, only keep rows which Sales Growth <=0,

Open edit queries, select "Less than or equal to"

5.png6.png4.png

 

Or in Data model,

7.png

 

Or create a column, then filter out rows=0,

8.png

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you so much @v-juanli-msft , but is there a way I can filter it out in REPORT?

Hi @ryan0521 

Yes

You could filter it by filter pane

7.png

 

Best Regards
Maggie

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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