March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I think the issue is rather easy but I got stucked here and trying to find a solution since couple of hours.
Data pulles from SQL server.
I would need to have % of absenteeism per month. In excel I would do something like that:
sumifs(absHours,projectCriteriaRange,project,monthCriteriaRange,month)/sumifs(plannedHours,projectCriteriaRange,project,monthCriteriaRange,month)
Based on that I would be able to build graph that would show evolution on absenteeism on monthly basis.
My issue with PowerBI is, that it is giving me total amount of absence and presence hours (that is also great) but is not returning abs% per month correctly. I can only make it to "Show value as Porcentage of grand total".
Any advice how I could show what is the % of blueish part of the column vs yellowish+blueish?
Thanks!
Solved! Go to Solution.
Hi @Lucjan_Szulik,
Please try measure:
percentage = CALCULATE ( SUM ( Project[Hours] ), FILTER ( Project, Project[Type] = "Absence" ) ) / SUM ( Project[Hours] )
Best regards,
Yuliana Gu
Hi @Lucjan_Szulik,
Please try measure:
percentage = CALCULATE ( SUM ( Project[Hours] ), FILTER ( Project, Project[Type] = "Absence" ) ) / SUM ( Project[Hours] )
Best regards,
Yuliana Gu
Hi Yuiliana,
Seems like this is what I needed!
Thank you very much!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
37 | |
22 | |
20 | |
10 | |
9 |
User | Count |
---|---|
59 | |
55 | |
22 | |
14 | |
12 |