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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

WARNING Message when work hours exceeds planned hours (Sum vs. specific value)

Hello! I got a chart with planned and actually booked work hours and would like to visualize the current status of those work hours in a new column.

 

Unless booked hours are below planned hours, Status should be "in time". If booked hours exceeds planned hours, Status should be "Warning".

 

The thing is: The planned hours come from an excel sheet with one specific value for each project. The value of work hours actually is a sum of multiple bookings coming from a big database.

 

My question now is: How can i create a new column, checking the sum of all work hours of a project with one specific value? Thanks in advance

 

powerbi.png

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @Anonymous,

 

Current power bi desktop not support analytics specific value and send warning measure when value exceed to plan.

 

>>How can i create a new column, checking the sum of all work hours of a project with one specific value? 

I'd like to suggest you to use current row 'project number' to find your correspond records to calculate 'book hour' and 'plan hour' and cycle difference between them and stored in variable.

 

After these calculation, write a if statement to group result as different statues.

 

If you still confused on coding formula, please share some sample data for test.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Greg_Deckler
Super User
Super User

If the tables are related to one another via Project number than you could do something like a SUMX of RELATEDTABLE to get the sume of the work hours in your column formula in your Projects table.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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