Forum Discussion

mbs2016's avatar
mbs2016
Helper I
6 years ago

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

      • Nathaniel_C's avatar
        Nathaniel_C
        Community Champion

        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's avatar
    Nathaniel_C
    Community Champion

    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