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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Fronde
New Member

Utilisation vs Target in Matrix and Stacked bar/column chart

Hi there,

 

I am very new to Power BI and would like to get some help on my utilisation report.

I have the first column as the target hours for everybody and then their hours worked under each category.

I would like to have an extra column for variance between Target and Total. And also to transform this information to a Stacked bar/column chart with % information, anyone with an exact match of target and total will be 100% and then + variance might be 104% (for 176 vs 168), and -variance is 83% (for people have 140 vs 168).

Fronde_0-1665979991595.png

Hope it makes sense to you.

Thanks in advance!

 

1 REPLY 1
Shaurya
Memorable Member
Memorable Member

Hi @Fronde,

 

First of, you can calculate the % for bar chart by creating the column:

 

% = 'Table'[Total]/'Table'[Target]

 

Format the above as a % to see number like 100%, 85%.

 

You can create positive and negative variance by using:

 

+ve Variance = IF('Table'[%]>100,'Table'[%],NULL)

 

-ve Variance = IF('Table'[%],100,'Table'[%]*-1,NULL)

 

Did I answer your question? Mark this post as a solution if I did!
Consider taking a look at my blog: Forecast Period - Previous Forecasts

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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