Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

bars in visual not appearing properly

Hi, I am almost embarassed to ask this as I am sure it's a newbie question but I can't figure it out and I couldn't find a previous answer.   I am trying to put the change of market share (MS) of ...
  • v-kkf-msft's avatar
    v-kkf-msft
    4 years ago

    Hi Anonymous ,

     

    Please try this measure to see if it matches the desired output.

     

    2020-18 REF = 
    DIVIDE (
        SUM ( 'Total Sales 2018-21'[Sales 2020] ),
        SUMX (
            ALLSELECTED ( 'Total Sales 2018-21' ),
            'Total Sales 2018-21'[Sales 2020]
        )
    )
        - DIVIDE (
            SUM ( 'Total Sales 2018-21'[Sales 2018] ),
            SUMX (
                ALLSELECTED ( 'Total Sales 2018-21' ),
                'Total Sales 2018-21'[Sales 2018]
            )
        )

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
    Best Regards,
    Winniz
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.