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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Moehimby
Helper I
Helper I

Looking for a way to replicate this viisual (dial with 5 coloured "zones")

Hellp BI enthusiasts, I've come again to pick your brains.

 

Company has completed a big customer survey and I've been tasked with presenting the results dynamically in BI. 

 

Does anyone know how I could recreate the visual pictured here? It is currently a dial with 5 coloured "zones" for "Very Disatissfied" , "Disatisfied", "Neutral" , "Satisfied", "Very Satisfied" so a total of 5 zones each having it's own range. I've looked around for other dial or guage visuals but have only found dials that allow for 3 colured zones and no more.

 

Perhaps someone here knows of other available visuals, ways to recreate this with on-hand tools in BI, or perhaps even another visual like a bar or line that would work as a replacement?

 

Thanks in advance for any help you can give me.

 

Screenshot 2024-10-09 144551.png

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

Thanks for the reply from lbendlin  please allow me to provide another insight:

Hi, @Moehimby 

Could you please let us know if lbendlin's response resolved your issue? If it did, kindly accept it as the solution.

 

Regarding the issue you raised, my solution is as follows:

You can try the following customisation to adjust the colours to achieve your desired results:

vlinyulumsft_0-1728629515910.png

vlinyulumsft_1-1728629515915.png

Secondly, you can represent the data according to your needs, as illustrated in the example below:

 

Here is my sample data:

vlinyulumsft_2-1728629574975.png

Firstly, if you need to calculate the average satisfaction rating, you can create the following calculated column:

Column =
SWITCH (
    TRUE (),
    'Table'[Comtext] = "Very Disatissfied", 20,
    'Table'[Comtext] = "Disatissfied", 40,
    'Table'[Comtext] = "Neutral", 60,
    'Table'[Comtext] = "Satisfied", 80,
    'Table'[Comtext] = "Very Satisfied", 100
)

Here are the example results:

vlinyulumsft_3-1728629673312.png

Secondly, if you wish to return the percentage of the most frequent ratings or the proportion of ratings that are Neutral or above, please refer to the following measure:

MEASURE = 
VAR Very_Disatissfied1 =
    CALCULATE (
        COUNT ( 'Table'[index] ),
        FILTER ( 'Table', 'Table'[Comtext] = "Very Disatissfied" )
    )
VAR Disatissfied1 =
    CALCULATE (
        COUNT ( 'Table'[index] ),
        FILTER ( 'Table', 'Table'[Comtext] = "Disatissfied" )
    )
VAR Neutral1 =
    CALCULATE (
        COUNT ( 'Table'[index] ),
        FILTER ( 'Table', 'Table'[Comtext] = "Neutral" )
    )
VAR Satisfied1 =
    CALCULATE (
        COUNT ( 'Table'[index] ),
        FILTER ( 'Table', 'Table'[Comtext] = "Satisfied" )
    )
VAR Very_Satisfied1 =
    CALCULATE (
        COUNT ( 'Table'[index] ),
        FILTER ( 'Table', 'Table'[Comtext] = "Very Satisfied" )
    )
VAR mm1 =
    MAXX (
        { Very_Disatissfied1, Disatissfied1, Neutral1, Satisfied1, Very_Satisfied1 },
        [Value]
    )
VAR mm2 = Satisfied1 + Very_Satisfied1 + Neutral1
RETURN
    DIVIDE ( mm2, COUNTROWS ( 'Table' ) ) * 100

Here are the example results:

vlinyulumsft_4-1728629724402.png

 

Of course, if you have any new ideas, you are welcome to contact us.

 

Please find the attached pbix relevant to the case.

 

Best Regards,

Leroy Lu

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

4 REPLIES 4
v-linyulu-msft
Community Support
Community Support

Thanks for the reply from lbendlin  please allow me to provide another insight:

Hi, @Moehimby 

Could you please let us know if lbendlin's response resolved your issue? If it did, kindly accept it as the solution.

 

Regarding the issue you raised, my solution is as follows:

You can try the following customisation to adjust the colours to achieve your desired results:

vlinyulumsft_0-1728629515910.png

vlinyulumsft_1-1728629515915.png

Secondly, you can represent the data according to your needs, as illustrated in the example below:

 

Here is my sample data:

vlinyulumsft_2-1728629574975.png

Firstly, if you need to calculate the average satisfaction rating, you can create the following calculated column:

Column =
SWITCH (
    TRUE (),
    'Table'[Comtext] = "Very Disatissfied", 20,
    'Table'[Comtext] = "Disatissfied", 40,
    'Table'[Comtext] = "Neutral", 60,
    'Table'[Comtext] = "Satisfied", 80,
    'Table'[Comtext] = "Very Satisfied", 100
)

Here are the example results:

vlinyulumsft_3-1728629673312.png

Secondly, if you wish to return the percentage of the most frequent ratings or the proportion of ratings that are Neutral or above, please refer to the following measure:

MEASURE = 
VAR Very_Disatissfied1 =
    CALCULATE (
        COUNT ( 'Table'[index] ),
        FILTER ( 'Table', 'Table'[Comtext] = "Very Disatissfied" )
    )
VAR Disatissfied1 =
    CALCULATE (
        COUNT ( 'Table'[index] ),
        FILTER ( 'Table', 'Table'[Comtext] = "Disatissfied" )
    )
VAR Neutral1 =
    CALCULATE (
        COUNT ( 'Table'[index] ),
        FILTER ( 'Table', 'Table'[Comtext] = "Neutral" )
    )
VAR Satisfied1 =
    CALCULATE (
        COUNT ( 'Table'[index] ),
        FILTER ( 'Table', 'Table'[Comtext] = "Satisfied" )
    )
VAR Very_Satisfied1 =
    CALCULATE (
        COUNT ( 'Table'[index] ),
        FILTER ( 'Table', 'Table'[Comtext] = "Very Satisfied" )
    )
VAR mm1 =
    MAXX (
        { Very_Disatissfied1, Disatissfied1, Neutral1, Satisfied1, Very_Satisfied1 },
        [Value]
    )
VAR mm2 = Satisfied1 + Very_Satisfied1 + Neutral1
RETURN
    DIVIDE ( mm2, COUNTROWS ( 'Table' ) ) * 100

Here are the example results:

vlinyulumsft_4-1728629724402.png

 

Of course, if you have any new ideas, you are welcome to contact us.

 

Please find the attached pbix relevant to the case.

 

Best Regards,

Leroy Lu

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

 

 

Thanks! I gave this a thumbs up because it is helpful and a good solution. I'll give this a try.

lbendlin
Super User
Super User

It looks cute, and can be done in Deneb*, but what's wrong with a simple card visual ?

 

Radial Plot | Vega-Lite

> what's wrong with a simple card visual

 

I'd considered this, but I'm trying to replicate what used to be a manual projust that was done by creating static images of those dials into a powerpoint - so have something as slick and "cute" but dynamic in BI would blow some socks off.

 

I did find a "tachometer" visual that seems to be doing the trick, but thanks for introducing me to the world of Deneb I hadn't seen it until you mentioned it.

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

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