The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I would like to combine the value of (2) fields to determine percetage of Billable hours.
For example, what I would like to do is this: ChargeableHours/(ChargeableHours+NonChargableHours) or 158/(158+322) = 32.91%.
Here is my DAX:
Thanks again @FreemanZ ,
For some reason the Matrix is still accuminating instead of doing the calculation. Perhaps do I need to do CALCULATE somewhere?
Many thanks for your reply! Below is what my data looks like. What seems to be happening is the UTil% column is accuminating/adding instead of doing the desired calculation of ChargeHours/TotalHours.
TotalHours is a column I made which is: ChargeHours + NonCHargeHours.
ChargeHours and NonChargeHours are fields from the database table I am importing.
Many help is greatly appreciated!
hi @bcap01
is P% a calculated column or measure? please consider provide some sample data to well reflect your case.
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |