Forum Discussion
Anonymous
6 years agoNot applicable
Need help to make formula work (filter)
Hi, Im not sure what i'm droing wrong, hope that someone is able to help me fix it. What i'm trying to do is to return a value that is between a range eg. Store[Amount]=4500 the return value sho...
- 6 years ago
Hi Anonymous ,
Try the followin code:
Comission = CALCULATE ( MINX ( FILTER ( Bank; Bank[Interval] <= FORMAT ( Store[Amount]; "#" ) && Bank[Interval] >= FORMAT ( Store[Amount]; "#" ) ); Bank[Comission] ) )Be aware that since you don't have values above 10.000 on the comissions will return blank, you can add a level with 9999999999 and a 0 value or another one that you think is correct.
MFelix
Super User
6 years agoYou can share the sample data by onedrive, google drive or wetransfer link.
Anonymous
6 years agoNot applicable
here is the link: https://we.tl/t-dt933ZIkGA
I really apreciate your help! i'm new into the powerbi world and having a hard time transtiting from excel
- Anonymous6 years agoNot applicable
Hi again,
After hours of trying, i finally figured out a simple method with Lostnonblank formula.
Once again, thank you for trying. im sure the 1st formula was right, i just could not get it to work.
Regards
Hawjeen