Forum Discussion
Need help
Hi Ashish_Mathur , Could you please help me with this one. TIA
Hi,
Share the link from where i can download your PBI file. You may share a small dataset. More importantly, share the exact result you are expecting.
- Anonymous7 years agoNot applicable
- v-chuncz-msft7 years agoCommunity Support
Anonymous,
Drag measure below to visual level filter and set Show items when the value is greater than 1.
Measure = CALCULATE ( DISTINCTCOUNT ( price_check[Net Rent/ sqm] ), ALLEXCEPT ( price_check, price_check[Apartment Index] ) )- Anonymous7 years agoNot applicable
Hi v-chuncz-msft Sam, I need something else, not what you have suggested.
- Ashish_Mathur7 years agoSuper User
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 ?