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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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