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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
RRanks
Frequent Visitor

Visualizing Multiple True / False with changing List of devices

Hi,

 

I have a table with a list of device types, and some True/False Status values I need to put into a vizual.. I was thinking multiple Donut Charts might be good but not sure how I can do that with a changing list of device types.

 

Would be good to show in the visual:

  • Total of Device Type
  • % isSync True/False
  • % isAutoSync True/False
  • Would also like it ordered so devices with largest number are at the top
  • Would also be good if a new type is added that it appears in the visual without having to manually go back and add an extra donut chart etc..

 

Table would look like this:

DeviceType,isInSync,isAutoSycn

DeviceTypeA,True,False

DeviceTypeA,True,True

DeviceTypeA,False,True

DeviceTypeA,False,False

DeviceTypeB,True,True

DeviceTypeB,True,True

DeviceTypeB,True,False

DeviceTypeC,True,True

DeviceTypeC,False,True

DeviceTypeC,False,False

DeviceTypeC,True,True

DeviceTypeC,True,True

DeviceTypeD,True,False

DeviceTypeD,True,True

DeviceTypeD,False,True

DeviceTypeD,False,False

DeviceTypeD,True,True

 

Thanks!!

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

Use two bar charts.  They will be automatically sorted by the count of items. They will adjust when new device types come in.

 

lbendlin_0-1726705325626.png

 

lbendlin_1-1726705396353.png

 

 

View solution in original post

v-xianjtan-msft
Community Support
Community Support

Hi @RRanks 

 

Here is my solution, hope it helps.

1. Create a measure to calculate total of device types.

 

TotalDeviceTypes = CALCULATE(DISTINCTCOUNT('Table'[DeviceType]), ALL('Table'))

 

 2. Create two Donut charts and put “DeviceType” in “Legend” and “isInSync/isAutoSync” in “Values” and select as count, put the new measure[TotalDeviceTypes] into ‘Tooltips’.

 3. In the visual format settings, expand “Detail labels” and select “All detail labels” in the “Label contents” drop-down list.

vxianjtanmsft_0-1726801900852.png

4. Select the Dount chart, and set the sort to be “DeviceType” descending.

vxianjtanmsft_1-1726802185619.png

5. Here is final result.

vxianjtanmsft_2-1726802391637.png

 

Best Regards,
Jarvis Tang
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

2 REPLIES 2
v-xianjtan-msft
Community Support
Community Support

Hi @RRanks 

 

Here is my solution, hope it helps.

1. Create a measure to calculate total of device types.

 

TotalDeviceTypes = CALCULATE(DISTINCTCOUNT('Table'[DeviceType]), ALL('Table'))

 

 2. Create two Donut charts and put “DeviceType” in “Legend” and “isInSync/isAutoSync” in “Values” and select as count, put the new measure[TotalDeviceTypes] into ‘Tooltips’.

 3. In the visual format settings, expand “Detail labels” and select “All detail labels” in the “Label contents” drop-down list.

vxianjtanmsft_0-1726801900852.png

4. Select the Dount chart, and set the sort to be “DeviceType” descending.

vxianjtanmsft_1-1726802185619.png

5. Here is final result.

vxianjtanmsft_2-1726802391637.png

 

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

 

lbendlin
Super User
Super User

Use two bar charts.  They will be automatically sorted by the count of items. They will adjust when new device types come in.

 

lbendlin_0-1726705325626.png

 

lbendlin_1-1726705396353.png

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.