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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Miguelgm28
Frequent Visitor

Visual Representation of an overall value

Hi everyone,

 

So I have something similar to the table of the image below which is pushing its data onto Power BI. So I have a number of different Projects (e.g. Assignment 1, Assignment 2, etc..) with a number of different tasks (Question 1, Question 2, etc..) [Each project doesn't necessarily always have the same number of tasks].

 

So I made a column ('Project Status'), which basically sees if all the tasks that fall within that project are either:

  • Not Started (which is generated if all the tasks are 0% in the 'Completion' column) ,
  • In Progress (which is generated if at least one task is greater than 0% in the 'Completion' column) , or
  • Completed (which is generated if all the tasks are 100% in the 'Completion' column) 

 

I am thinking of having a donut chart (if you can think of a better more efficient way please feel free to share) that represents the project status to see if the project falls under one of these 3 statuses. So for example in this case, a donut chart stating 'Not Started - 1', 'In Progress - 1' and 'Completed - 1'. When trying to do this, it is counting and summing all the rows [giving me a task representation and not a project], and if I were to use count (distinct) if I have multiple projects with the same status it will only count one and take one of the status into consideration.

 

Any ideas how I could do this please?

 

Thank you in advance.

 

Miguelgm28_0-1675859376497.png

 

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

Hi @Miguelgm28 ,

 

According to your description, you want to show the [Project Status] as the Legand on the donut visual.

And the Value is the distinct count of the [Project] if it is this [Project Status].

If this , I think you just need to put the fields on the visual and when you have multiple projects with the same [Project Status],it shall always work in my understand.

My test data is this:

vtangjiemsft_0-1675933136148.png

 

When I put the fields on the visual , the result is as follows:

vtangjiemsft_1-1675933136160.png

Best Regards,

Neeko 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-tangjie-msft
Community Support
Community Support

Hi @Miguelgm28 ,

 

According to your description, you want to show the [Project Status] as the Legand on the donut visual.

And the Value is the distinct count of the [Project] if it is this [Project Status].

If this , I think you just need to put the fields on the visual and when you have multiple projects with the same [Project Status],it shall always work in my understand.

My test data is this:

vtangjiemsft_0-1675933136148.png

 

When I put the fields on the visual , the result is as follows:

vtangjiemsft_1-1675933136160.png

Best Regards,

Neeko Tang

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

Hi @v-tangjie-msft (Neeko Tang),

 

I understood what you did and it worked!

 

Thank you very much! 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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