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
AndrewPF
Helper V
Helper V

radar (spider) chart with two measures from same data source

I am using the SpiderChart by visiochart to show scores across different security factors for two different companies. 

 

However, these scores are currently hard coded and I want the chart to show scores based on user input as follows: 

AndrewPF_0-1687869951047.png


where I have measures of "score 1" and "score 2" based on slicers "company 1" and "company 2". 

 

Is this possible? 

1 ACCEPTED SOLUTION

Hi @AndrewPF ,

If you mean select two values in the company slicer, score1 for the first and score2 for the second, modify the formula to:

score 1 =
CALCULATE (
    SUM ( 'Factors'[score] ),
    'Factors'[company]
        = MINX ( ALLSELECTED ( Factors[company] ), 'Factors'[company] )
)
score 2 =
CALCULATE (
    SUM ( 'Factors'[score] ),
    'Factors'[company]
        = MAXX ( ALLSELECTED ( Factors[company] ), 'Factors'[company] )
)

Get the same result with the hard coding formula:

vyanjiangmsft_0-1688463178315.png

I attach my sample below for your reference.

 

Best regards,

Community Support Team_yanjiang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

4 REPLIES 4
AndrewPF
Helper V
Helper V

Thank you, that's exactly what I needed. 

AndrewPF
Helper V
Helper V

Hi, 

the structure of the data is as follows: 

 

companyfactorscore
Company A         cubit28.43
Company A         patching19.91
Company A         app_security62.38
Company A         dns77.68
Company A         network45.36
Company A         social_eng88.14
Company A         leaked_info98.09
Company A         ip_rep50.84
Company A         hacker38.09
Company A         endpoint21.06
Conglomerate B         cubit97.86
Conglomerate B         patching80.66
Conglomerate B         app_security23.45
Conglomerate B         dns15.25
Conglomerate B         network58.67
Conglomerate B         social_eng7.83
Conglomerate B         leaked_info17.57
Conglomerate B         ip_rep46.16
Conglomerate B         hacker9.3
Conglomerate B         endpoint81.35
Consortium C         cubit79.36
Consortium C         patching10.43
Consortium C         app_security29.81
Consortium C         dns65.31
Consortium C         network26.07
Consortium C         social_eng50.67
Consortium C         leaked_info81.28
Consortium C         ip_rep57.27
Consortium C         hacker37.2
Consortium C         endpoint33.2


and my two measures are: 

score 1 = calculate(sum('Factors'[score]), 'Factors'[company] = "Company A")


and

score 2 = calculate(sum('Factors'[score]), 'Factors'[company] = "Conglomerate B")


but I want to create score 1 and score 2 based on slicers for end-user input instead of hard coding them.

Hi @AndrewPF ,

If you mean select two values in the company slicer, score1 for the first and score2 for the second, modify the formula to:

score 1 =
CALCULATE (
    SUM ( 'Factors'[score] ),
    'Factors'[company]
        = MINX ( ALLSELECTED ( Factors[company] ), 'Factors'[company] )
)
score 2 =
CALCULATE (
    SUM ( 'Factors'[score] ),
    'Factors'[company]
        = MAXX ( ALLSELECTED ( Factors[company] ), 'Factors'[company] )
)

Get the same result with the hard coding formula:

vyanjiangmsft_0-1688463178315.png

I attach my sample below for your reference.

 

Best regards,

Community Support Team_yanjiang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

v-yanjiang-msft
Community Support
Community Support

Hi @AndrewPF ,

I'm not quite clear what's the data structure your modle is. I create a sample:

vyanjiangmsft_0-1688021898635.png

vyanjiangmsft_1-1688021953732.png

But seems it's not quite the same with yours. Please clarify more details.

 

Best regards,

Community Support Team_yanjinag

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.