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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Data_Hero
Regular Visitor

Have values in a radar chart not be split by dimensions in a legend

Hey everyone! Powerbi newbie here. I'm not sure if this is possible but I'll post my question below:

 

For context, this was an employee experience survey and I want to display information in a radar chart. There are 2 things I want to display:

1. An overall score (Labelled - Importance).

2. The overall score divided by department (back-end, mid-end, front-end).

 

Here is an image of what I want:

Screenshot 2022-04-25 at 5.35.14 PM.png

 

I am able to do this by creating a separate measure of the same value and putting it in the values tab. The issue is that this then results in there being 6 items in the legend (Eg. Importance - front-end/mid-end/back-end, Overall Importance - front-end/mid-end/back-end) where as the result I want is to only have 4 items in the legend (Eg. Value - front-end/mid-end/back-end, Overall Value)

 

Below is an image of what happens:

Screenshot 2022-04-25 at 5.45.55 PM.png

Below is an image of what I want:

 

Screenshot 2022-04-25 at 5.45.55 PM.png

 

How might I achieve what I want?

 

If there is anything that isn't clear/any other info needed let me know. Thanks!

 

 

2 REPLIES 2
Data_Hero
Regular Visitor

Hey @v-yangliu-msft. Thanks for the help.

 

My data set does not contain any dates so I don't think the formula with MONTH will work. I've attached images of my data set below.

 

Fact Table: 

Screenshot 2022-04-29 at 8.29.36 AM.png

 

Dimension Table:

 

Screenshot 2022-04-29 at 8.38.27 AM.png

 

Does the formula need to be altered to fit this dataset? Thanks for the help.

 

Best Regards,

Data_Hero

v-yangliu-msft
Community Support
Community Support

Hi  @Data_Hero ,

I created some data:

Table:

vyangliumsft_0-1651133851621.png

Table2:

vyangliumsft_1-1651133851621.png

Visual:

vyangliumsft_2-1651133851625.png

 

Here are the steps you can follow:

1. You can use Enter data to create a table.

vyangliumsft_3-1651133851626.png

2. Create measure.

Measure =
SWITCH(
    TRUE(), MAX('Table2'[Group1])="A",CALCULATE(SUM('Table'[Amount]),FILTER(ALL('Table'),'Table'[Group]="A"&&MONTH('Table'[Date])=MONTH(MAX('Table'[Date]))))  ,
MAX('Table2'[Group1])="B", CALCULATE(SUM('Table'[Amount]),FILTER(ALL('Table'),'Table'[Group]="B"&&MONTH('Table'[Date])=MONTH(MAX('Table'[Date]))))  ,
MAX('Table2'[Group1])="C", CALCULATE(SUM('Table'[Amount]),FILTER(ALL('Table'),'Table'[Group]="C"&&MONTH('Table'[Date])=MONTH(MAX('Table'[Date]))))  ,
MAX('Table2'[Group1])="D", CALCULATE(SUM('Table'[Amount]),FILTER(ALL('Table'),'Table'[Group]="D"&&MONTH('Table'[Date])=MONTH(MAX('Table'[Date])))) ,
MAX('Table2'[Group1])="E", CALCULATE(SUM('Table'[Amount]),FILTER(ALL('Table'),'Table'[Group]="E"&&MONTH('Table'[Date])=MONTH(MAX('Table'[Date]))))  )
Flag = IF(
    MAX('Table2'[lndex])<=3,1,0)

3. Place [Flag]in Filters, set is=1, apply filter.

vyangliumsft_4-1651133851627.png

4. Result:

vyangliumsft_5-1651133851630.png

 

Best Regards,

Liu Yang

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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