Forum Discussion

jkilber's avatar
jkilber
New Member
8 years ago

Static Y-Axis Scale on Radar Chart

I have a radar chart built with a slicer attached. When I slice the data differently, it changes the scale of the radar chart, which makes the charts hard to compare. How do I keep the radar chart y-axis scale the same? 

 

The data values are from 1 - 5. I'm wanting the outer ring to stay at a value of 5 and likewise, the center, 1, no matter which sliced attribute I select. 

 

How do I set a Y-Axis values/scale to remain static no matter the selection I make in the slicer? 

 

Thanks for any help!

1 Reply

  • Eric_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    jkilber

    Let's say, if you have a table as below

     

    Then you'll need a calculated table as

    auxiliary Table = DISTINCT(yourTable[your orginal category])

     

    Then create a measure as

    Measure =
    VAR val =
        SUMX (
            FILTER (
                yourTable,
                yourTable[your orginal category] = MAX ( 'auxiliary Table'[category] )
            ),
            yourTable[value]
        )
    RETURN
        IF ( ISBLANK ( val ), 1, val )
    

    See more in the attached pbix file.