Forum Discussion
Need help
Hi,
Try this calculated column formula
=if(LOOKUPVALUE(price_check[Net Rent/ sqm],price_check[einzug],CALCULATE(MAX(price_check[einzug]),FILTER(price_check,price_check[Apartment Index]=EARLIER(price_check[Apartment Index])&&price_check[einzug]<EARLIER(price_check[einzug]))),price_check[Apartment Index],price_check[Apartment Index])>[Net Rent/ sqm],"Lower",if(LOOKUPVALUE(price_check[Net Rent/ sqm],price_check[einzug],CALCULATE(MAX(price_check[einzug]),FILTER(price_check,price_check[Apartment Index]=EARLIER(price_check[Apartment Index])&&price_check[einzug]<EARLIER(price_check[einzug]))),price_check[Apartment Index],price_check[Apartment Index])<[Net Rent/ sqm],"higher","Same"))
Hope this helps.
- Anonymous7 years agoNot applicable
Hi Ashish_Mathur, Thank you for the formula. But when I tried this, I'm getting "A table of multiple values was supplied where a single value was expected" error. What could be the reaosn for this ?
- Ashish_Mathur7 years agoSuper User
Hi,
I did not face this problem in the file that you shared with me. Share the link from where i can download your PBI file.
- Anonymous7 years agoNot applicable
Hi Ashish_Mathur, Sorry because of company policy I cannot share whole file with you. But i will try to find why I am getting error in my file where data is nearly same as of the shared file.