cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mbs2016 Regular Visitor
Regular Visitor

Greater than / Less than equal to

How do I create a function or querey to show me only data where Value A is less than or equal to Value B?  

 

Example:  Show items where "Received Quantity" is less than  "Ordered Quantity".

5 REPLIES 5
Nathaniel_C Super Contributor
Super Contributor

Re: Greater than / Less than equal to

IF(Received Quantity < Ordered Quantity, Received Quantity)

mbs2016 Regular Visitor
Regular Visitor

Re: Greater than / Less than equal to

This solution did not seem to work.

Highlighted
mbs2016 Regular Visitor
Regular Visitor

Re: Greater than / Less than equal to

2019-09-18 15_26_25-Open_PO_Draft1 - Power BI Desktop.png

Nathaniel_C Super Contributor
Super Contributor

Re: Greater than / Less than equal to

Hi @mbs2016 ,

Are these columns that you are comparing, you did not specify or a measure? And where is this, power query, power bi?

Thanks, If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel

Nathaniel_C Super Contributor
Super Contributor

Re: Greater than / Less than equal to

Hi @mbs2016 , 

So in your screen shot, it looks like you are on a dashboard in Power BI. Yes? Do you have measures with the names that you mentioned, already? Or are these column names?

 

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 146 members 1,775 guests
Please welcome our newest community members: