Skip to main content

Hello to everyone!

 

I am trying to create a pie with 2 measure values.

The pie has the measure names "AA" and "BB" as shown in pictures.

 

If a Measure value is zero (0) on a pie then the text shows only 0 and not the other valueScreenshot_16Using some filters, the "AA" measure is 0 and the measure "BB" is 4.

But instead of showing the value 4 on text, the value 0 appears.

 

Screenshot_18Screenshot_17I clicked to allow overlap or change allignment but nothing happens.

 

What can i do to show the existing value (4) and not the non existing(0)?

 

Thank you!

6 个回答
  1. 2022年2月17日 18:46

    "Kali Spera" @Menelaos Ampartzakis​ 

     

    "Para Kalo" ! Thanks for the clarification. My earlier solution was for a

    Piechart while this modified solution is for a Donut / Taurus chart. All I

    did was do a data Pivot for X & Y values and then create a couple of fields

    for the Labels (LOD calculations).

     

     

    Also here is what I got after creating the 2 calculated fields

    (shown below the visual).

     

    Visual 1 

    Now if we select [Sub] = "d1" then instead of seeing 0 (like

    we saw earlier), you will see 30.

     

    Visual 2 

    Also here are the 2 calculated fields using LOD calculations:

     

    Formulas 

    Note: Since I have not Fixed the dimension [Sub] in the above formulas,

    you will need to add the [Sub] filter to context (it turns grey)

     

    I have attached the twbx file below. Hope this was helpful and correctly

    answered your question. Take care and "Giassu" !

     

    Sincerely,

    Soumitra

0/9000