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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
josevaras
Microsoft Employee
Microsoft Employee

Filter Measure Results

Hello,

 

I have the measure 

DIVIDE([Total Sales LM] , [Sum Total Sales] ) -1
which returns, amongst others values, a -100. I would like to filter out the -100 out of the result set. I am using a Matrix that has as row values country names, values as total sales and on my column header, the measure above.

Thank you for your help. 
1 ACCEPTED SOLUTION
TheDataMustFlow
Frequent Visitor

Hi @josevaras ,

 

A possible approach would be to nest the DIVIDE within an IF:

 

= IF(

     DIVIDE([Total Sales LM] , [Sum Total Sales] ) -1=-100,

     BLANK(),

     DIVIDE([Total Sales LM] , [Sum Total Sales] ) -1

)

 

Thatt should filter out the results where the DIVIDE([Total Sales LM] , [Sum Total Sales] ) -1 returns -100.

 

 

View solution in original post

4 REPLIES 4
TheDataMustFlow
Frequent Visitor

Hi @josevaras ,

 

A possible approach would be to nest the DIVIDE within an IF:

 

= IF(

     DIVIDE([Total Sales LM] , [Sum Total Sales] ) -1=-100,

     BLANK(),

     DIVIDE([Total Sales LM] , [Sum Total Sales] ) -1

)

 

Thatt should filter out the results where the DIVIDE([Total Sales LM] , [Sum Total Sales] ) -1 returns -100.

 

 

kentyler
Solution Sage
Solution Sage

I assume you have this in some sort of table visual. Do you want to not show the -100 value, or not include the whole row where the divide returns -100 ?





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


I would like the whole row to not show up

Do you know what it is about that row that gives the minus result ? I don't think the DIVIDE function can make the row not show up. Perhaps if it returned a blank value that might cause the row not to be included. If so, you could wrap the DIVIDE in an IF() and return blank if the result was less than 0)





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


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.