Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

DAX Calculated colum, IF > Statement, returns ties?

$
0
0

Today I had two columns:

1. A calculated unit price column in my Sales table.

2. A related column from our price list, returns retail unit prices

 

We needed a third column to flag when the price paid was greater than the retail unit price.

 

3. If(Unit Price > Retail price, "Flag", Blank())

 

What I got was the price paid that were greater than retail, but also all the instances where Price Paid=Retail??

 

I had to add $.01 to the retail price in order to break the tie and get the flag filter to work.


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>