Forum Discussion
Adjust numeric formats for aggregates inside tooltip
- 9 years ago
Hi Leah-H,
Based on my test, without the option to use the Format option under Model tab, I was also not able to affect Power BI's internal calculation which shows up in the tooltip by using ROUND or TRUNC in this scenario.
In addition, as the idea for supporting DAX measures against Tabular models is alread started, I think the Format option under Model tab will also be available against Tabular models when that idea is complete.:smileyhappy:
Regards
You can create a new measure just for the Tooltip that uses the FORMAT function. You'll see here I've set the decimal places to 2 places.
Try this
My Tool Tip = FORMAT(
CALCULATE(
AVERAGE('PERSIST WeatherReading'[baro])
)
,"#,000.00")Phil_SeamarkYes but above the Toolip Measure you'll still see that Number!
Math
29.21599999999998
29.2
- Phil_Seamark9 years ago
Microsoft Employee
Oh yeah, I see what you mean now. I reckon Sean is on the money with the TRUNC function. Works for me! :)
- Sean9 years ago
Community Champion
Phil I hope TRUNC works - however I would've thought ROUND would also work :smileyhappy:
Let's see...
- Phil_Seamark9 years ago
Microsoft Employee
I tried it here and worked for me.