Forum Discussion
CTan42
9 years agoHelper II
Remove Duplicates?
Below are my power bi sample. I am asked to create a dashboard to present the stat of left orders. For examples, i do a calculation: orders= calculate(count(ID)). The result shows there are 5 orders....
CTan42
9 years agoHelper II
thanks for your explanation. It's great that you mentioned the condition at the last. As my data have more than 1 row with exactly same date. Hence do you have any idea to do that?
Regards,
Chung.
TomMartens
9 years agoSuper User
Hey,
I guess the row to use would be, the row with the MIN('table'[RemainingPayment].
So, without trying I would define a 2nd variable
minRemainingPayment =
CALCULATE(
MIN('table'[RemainingPayment])
)and adjust the IF statement like so
IF('OrdersPayment'[Date] = latestOrderDate && 'OrdersPayment'[RemainingPayment] = minRemainigPaymentHope this helps
Regards