Forum Discussion
Remove not needed rows
Hi Analitika ,
Modify your [4_5 BP] measure like this:
4_5_BP = IF ( ISINSCOPE ( Table1[sas_kod] ), SWITCH ( SELECTEDVALUE ( Table22[Name BP] ), "Sales", 1, "Costs", 2, "Profit", BLANK (), "BP marge %", BLANK () ), IF ( ISINSCOPE ( Table22[Name BP] ), SWITCH ( SELECTEDVALUE ( Table22[Name BP] ), "Sales", 1, "Costs", 2, "Profit", 3, "BP marge %", 4 ) ) )In addition, +signs cannot be removed.
Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
4 Replies
- v-yingjl
Community Support
Hi Analitika ,
Modify your [4_5 BP] measure like this:
4_5_BP = IF ( ISINSCOPE ( Table1[sas_kod] ), SWITCH ( SELECTEDVALUE ( Table22[Name BP] ), "Sales", 1, "Costs", 2, "Profit", BLANK (), "BP marge %", BLANK () ), IF ( ISINSCOPE ( Table22[Name BP] ), SWITCH ( SELECTEDVALUE ( Table22[Name BP] ), "Sales", 1, "Costs", 2, "Profit", 3, "BP marge %", 4 ) ) )In addition, +signs cannot be removed.
Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
- Analitika
Post Prodigy
TY, it works only with columns, if Scope is something like
IF( sas_kod = "others", related(Table2[name]), related(Table3[name]))it stop working
- parry2k
Super User
Analitika you can surely suppress the rows you dont want to show using ISINSCOPE function but you cannot disable + sign.
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡