The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi.
I have 3 calculated columns:
Co1_1: = Units/Weeks
Result = 2.7
Col_2: = Capacity/(Col_1)/7
Result = 10.5
Col_3 = Col1*Col2
Result = 28.0
It should be 28.4
Any help. Thank you
Solved! Go to Solution.
Hello. So far not solved yet. All of my fields (columns) are Date type=Decimal & Format Decimal=Decimal Number. All the calculation is doing is taking (L52_Avg_Mvmt)*L52_DOS_W) and it just keeps returning a whole number even with format set to decimals.
Hello. So far not solved yet. All of my fields (columns) are Date type=Decimal & Format Decimal=Decimal Number. All the calculation is doing is taking (L52_Avg_Mvmt)*L52_DOS_W) and it just keeps returning a whole number even with format set to decimals.
I suspect you have the formatting for your columns to show one decimal place. Increase that on the two input columns and you will likely see that 28.0 is correct. The original values are used in the calculation, but the format string controls how it is displayed.
Pat
I took this same calculation out to excel (copied it from powerpivot). If i have 2 decimal places it should show decimals and not whole numbers. Any ideas?
User | Count |
---|---|
10 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
20 | |
15 | |
14 | |
10 | |
7 |