Forum Discussion
Cindy16
2 years agoRegular Visitor
Measure tool's format setting and format function in DAX return different result
Hi Team, I can not format the value correctly through the "format" DAX expression. Below is the data source I created as a sample. The final result needs to show with K and no decimal. I...
- 2 years ago
Try this DAX
ValuesF =var Kvalue = SUM(Sheet1[Tried Value])/1000RETURNIF(Kvalue>=0,FORMAT(Kvalue,"+#,0"),FORMAT(Kvalue*-1,"-#,0"))
nareshr89
2 years agoHelper II
Try this DAX
ValuesF =
var Kvalue = SUM(Sheet1[Tried Value])/1000
RETURN
IF(Kvalue>=0,FORMAT(Kvalue,"+#,0"),FORMAT(Kvalue*-1,"-#,0"))