Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I am trying to find the minimum value of a data set excluding negative values. I am sure this is fairly simplistic and I am missing something. But there are credit entries within this data that populate as negative values. As shown in the picture below.
Ideally I want it to ignore these values and just pull in the data that is the lowest value above 0. Pulling in this 6074.85 that I have highlighted.
Is there a way to do this? Or do I need to reconfigure my data and pull it in without the negatives?
Solved! Go to Solution.
You can use something similar to the following measure:
Min (excluding -ve) = CALCULATE(MIN(Table[Customer Sales USD]), Table[Customer Sales USD]) > 0)
You can use something similar to the following measure:
Min (excluding -ve) = CALCULATE(MIN(Table[Customer Sales USD]), Table[Customer Sales USD]) > 0)
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
66 |