cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
msuser48
Helper I
Helper I

Filter a Radar Chart using a slicer

I have the following table:

msuser48_0-1664384022792.png

 

I need to show this data in a Radar Chart, and filter it using a Slicer as such:

msuser48_2-1664384247659.png

When a Slicer filter is clicked such as "3. Processed", the Radar Chart should show how many of each category have the status "3. Processed".

 

It should display the actual amount (in this case, 1), but also show the total amount of Status for each Category (in this case, 2, since "Drinks" has a total of 2 rows). We should not count distinct rows only, so if there was one more status called "Draft" for "Drinks", then the total would be 3.

 

How to achieve this?

 

 

 

1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi , @msuser48 

According to your description , you want to Filter a Radar Chart using a slicer. RIght?

Here are the steps you can follow:

(1)This is my test data which is the same as yours:

vyueyunzhmsft_0-1664416107882.png

(2)We can click "New Table" to create a table:

Table 2 = ALL('Table'[Category])

(3)We can create two measures:

Total Count = 
var _current_ca= SELECTEDVALUE('Table 2'[Category])
var _t= FILTER( ALL('Table'),'Table'[Category]=_current_ca)
return COUNTROWS(_t)
Slice_Count = var _slice = VALUES('Table'[Status])
var _current_ca= SELECTEDVALUE('Table 2'[Category])
var _t = FILTER( ALL('Table') ,'Table'[Status] in _slice && 'Table'[Category] = _current_ca)
return 
COUNTROWS(_t)

(4)Then we can put the two measure and the 'Table2'[Category] in the Radar visual and we can meet your need, the result is as follows:

vyueyunzhmsft_1-1664416276639.png

 

If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.

 

Best Regards,

Aniya Zhang

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

1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

Hi , @msuser48 

According to your description , you want to Filter a Radar Chart using a slicer. RIght?

Here are the steps you can follow:

(1)This is my test data which is the same as yours:

vyueyunzhmsft_0-1664416107882.png

(2)We can click "New Table" to create a table:

Table 2 = ALL('Table'[Category])

(3)We can create two measures:

Total Count = 
var _current_ca= SELECTEDVALUE('Table 2'[Category])
var _t= FILTER( ALL('Table'),'Table'[Category]=_current_ca)
return COUNTROWS(_t)
Slice_Count = var _slice = VALUES('Table'[Status])
var _current_ca= SELECTEDVALUE('Table 2'[Category])
var _t = FILTER( ALL('Table') ,'Table'[Status] in _slice && 'Table'[Category] = _current_ca)
return 
COUNTROWS(_t)

(4)Then we can put the two measure and the 'Table2'[Category] in the Radar visual and we can meet your need, the result is as follows:

vyueyunzhmsft_1-1664416276639.png

 

If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.

 

Best Regards,

Aniya Zhang

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

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.