cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors