Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
As you guys can see I have already applied Round up to 2 decimal place for Actual profit columns. But it seems that for some negative decimal values it is not applying and for some it is working fine. Suggest me how to round it up . e,g (1524.4400000001) to (1524.44).
Hi @Ankit041,
Have you resolved your problem? If so, would you please kindly mark the helpful reply as an answer or sharing your solution?
Regards,
Yuliana Gu
No the problem still persists. I have used all the know thing to resolve it but with no affect.
Have you set the formatting to a 2 place decimal?
Proud to be a Super User!
Yes I did but still the value of the highlighted ones are not changing at all
Can you show us the formula for that measure and the data type and formatting on it from the Modeling tab?
Proud to be a Super User!
The problem is in the Query view it is rounding up to 2 decimal values. But as soon as I am reverting back to report view its is not getting round up..Strange isn't it.
This is the formulae Power BI is using
= Table.TransformColumns(#"Changed Type2",{{"Actual Profit", each Number.Round(_, 2), type number}})
Actual Profit is the Column Name.
Right, so after you load it from the query when you're back in the report, check the formatting in the Modeling tab.
Proud to be a Super User!
The formatting ribbon is disable for me as you can see in the screen shot
You have to select the column.
Proud to be a Super User!
I did that.
Hi @Ankit041,
Please check the data type of [Actual profit] in report view.
Regards,
Yuliana Gu
Its decimal. And I got the solution. Actually in the data query view you can change the formatting of the column . I don't understand why the formulae I have used for the column is not overriding everything else. What is the purpose of the making query level changes when we have to manually change the formatting again .
Should just be:
Column = ROUNDUP([Column],2)
Shouldn't matter if it is negative. You would need this wrapped around whatever your calculation is for Actual Profit.
User | Count |
---|---|
141 | |
113 | |
104 | |
77 | |
64 |
User | Count |
---|---|
135 | |
123 | |
101 | |
71 | |
61 |