Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
AviramWeiss
Helper I
Helper I

Value relative to max

Hello everyone,

 

I'm struggling with a Radar Chart, trying to use it to show multiple parameters of a chosen branch (among other filters).

Due to the nature of this visual, I had to turture my data to such a structure:

Branch    Parameter     Value    
AIncome100
ACost50
AWorkers3
BIncome200
BCost70
BWorkers5

 

After applying a Branch filter (for the entire page), I wanted to show all parameters on a single Radar Chart (there are more than 3 params).

However, since each param has its own range, they're not presented well on the chart.

So I thought of "rectifying" them, relative to the max branch. In this manner, Income would be divided by 200, Cost by 70 and Workers by 5, and all will be on a scale between 0 and 1.

 

I tried to do that with measures using Calculate(Maxx()), or Maxx(Calculatetable(Groupby())), but failed.

 

Any ideas would be warmly welcomed.

 

Thank you,

Aviram

2 REPLIES 2
smpa01
Super User
Super User

@AviramWeiss   are you looking for a measure like this?

 

Measure = 
VAR maxByParameterIgnoringFilter =
    CALCULATE (
        MAX ( 'Table'[Value    ] ),
        INDEX (
            1,
            DISTINCT ( ALL ( 'Table' ) ),
            ORDERBY ( 'Table'[Value    ], DESC ),
            KEEP,
            PARTITIONBY ( 'Table'[Parameter     ] )
        )
    )
VAR curr =
    MAX ( 'Table'[Value    ] )
RETURN
    DIVIDE ( curr, maxByParameterIgnoringFilter )

 

smpa01_1-1675795654591.png

 

 

 

 

 

 

 

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

Thank you very much, @smpa01 ,

I'm probably using a too old version of Power BI (2.88.2361.0), and cannot upgrade, due to corporate regulation, but I can't find "Index" as a function in DAX.

Thus, can't try you suggested solution.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.