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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
omergencay
Regular Visitor

Filtered calculation

Hi, I have a problem. I am trying to filter my table with two of its ingredients are "the stock name" and "stock selling profit marge". The Stock name measure is written above "ABC/123" and the stock selling profit ratio measure is written above " 1.2". 

I wanna do a filter like Filter( ratio, ratio >0,00).  But while I am trying to do that, ı couldn't select the "ratio table." What is the problem you think?

Then ı wanna calculate an "average stock selling profit marge" without negative ( <0,00)  and neutral numbers ( 0,00)

3 REPLIES 3
Seward12533
Solution Sage
Solution Sage

Can you please share some additional details of your model. If you can't share a sample then at least a picture of the model, some of your measures.

İncomeOutcomeAverage CostDiscountprofit or loss valueprofit/loss ratio
1.186,441.020,620,510165,820,16
614,41510,310,510104,100,20
516,95459,280,51057,670,13
550,85510,310,51040,540,08
1.557,201.339,560,510217,640,16
670,66760,000,510-89,34-0,12
2.669,492.679,130,510-9,640,00
919,49790,980,510128,510,16

Hi @omergencay,

What is your expected result based on your sample table above?

Best Regards,
Angelia

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.