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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.