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
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Difinity Conference

Difinity Conference 2022

Difinity is the largest Microsoft Data, AI, Power BI, Power Platform and Business Applications Conference in New Zealand.

European Share Point Conference

European Share Point Conference

This conference returns live and in-person in Copenhagen this 28 November-01 December with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.