Forum Discussion

Analitika's avatar
Analitika
Icon for Post Prodigy rankPost Prodigy
6 years ago
Solved

Remove not needed rows

Need to remove not needed rows and have no + signs       https://easyupload.io/fn5yc2    
  • v-yingjl's avatar
    6 years ago

    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 Li

    If this post helps then please consider Accept it as the solution to help the other members find it more quickly.