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

The Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more

Reply
Anonymous
Not applicable

Pie Chart

Hello,

 

Does anyone know how to create this type of pie chart in powerbi?

eli_n_0-1667404069736.png

 

Thank you

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

There is a workaround for you, please try below steps:

1. below is my test table

Table:

vbinbinyumsft_0-1668157541252.png

2. create measure with below dax formula

Measure =
VAR tmp1 =
    FILTER ( ALL ( 'Table' ), 'Table'[Year] = 2021 )
VAR tmp2 =
    FILTER ( ALL ( 'Table' ), 'Table'[Year] = 2022 )
VAR _a =
    SUMX ( tmp1, [Profit] )
VAR _b =
    SUMX ( tmp2, [Profit] )
RETURN
    DIVIDE ( - ( _b - _a ), _a )
Measure 2 = 1-[Measure]

3. add a Donut Chart visual with above measure, add a text box with some words

vbinbinyumsft_1-1668157724114.png

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_ Binbin Yu
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
Anonymous
Not applicable

Hi @Anonymous ,

There is a workaround for you, please try below steps:

1. below is my test table

Table:

vbinbinyumsft_0-1668157541252.png

2. create measure with below dax formula

Measure =
VAR tmp1 =
    FILTER ( ALL ( 'Table' ), 'Table'[Year] = 2021 )
VAR tmp2 =
    FILTER ( ALL ( 'Table' ), 'Table'[Year] = 2022 )
VAR _a =
    SUMX ( tmp1, [Profit] )
VAR _b =
    SUMX ( tmp2, [Profit] )
RETURN
    DIVIDE ( - ( _b - _a ), _a )
Measure 2 = 1-[Measure]

3. add a Donut Chart visual with above measure, add a text box with some words

vbinbinyumsft_1-1668157724114.png

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @Anonymous ,

So far, Power BI doesn't have this type pie chart. But you could create this pie chart with below two ways:

1. Non code way: you could customize visual with charticulator

  For more details, you can read related document: Getting Started | Charticulator

2. Need code: Create your data visualisations using the Power BI visuals SDK—an open-source, command-line tool based on NodeJS and available on GitHub.

 For more details, you can read related document:  Power BI Custom Visuals – Data Visualisation Tools | Power BI (microsoft.com)

 

Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.