Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi everyone, I am trying to create a measure that calculates the sum of "Allocation Hours" divided by SUM of "Hours worked" (very simple measure) to get an allocation vs actuals percentage. I noticed that if i put SUM(Allocations[Allocation Hours]) in a measure, it duplicates the data over and over again. In the picture posted below, the SUM of allocation hours should be 104.28K (when just added to a card and not a measure) but when added to a measure and applying a SUM function, all of a sudden the "Allocation Hours" comes out to 1616.66 Billion. Does anyone have any idea whats causing this? At first i thought it might be a relationship but this is happening even without brining in data from other tables. The same thing occurs if i do a SUM of the hours worked. Thank you all in advance for any help or suggestions. Appologies for the poor artwork!
Which field are you passing to the Allocation Hours card? Also, could you share a picture of the Allocations table?
Well I found out why it was duplicating, I must have calculated it as a column instead of a measure so it was calculating the sum on a row level and then adding up all of the totals (so duplicating hundreds of times). I feel silly now, but still new to PBI so this is a good learning moment! Thank you for the quick reply.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
19 | |
12 | |
10 | |
9 | |
9 |
User | Count |
---|---|
17 | |
14 | |
12 | |
9 | |
9 |