Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
I want to show whole numbers. By default I have two decimal places in my table with numbers. How do I remove the decimal?
Solved! Go to Solution.
You can go to the data view, select the appropriate column, and then select the Modeling ribbon and then formatting tab. You can either change to a Whole Number or reduce Decimal Number to show 0 decimal places.
Hi - Found the Solution for your problem:
1. Select the Table
2. Goto Formatting Options -> Field formatting -> Dropdown (Select the variable) -> Value decimal Places
It works. Thanks!
Great solution! Thanks - good remark that from the drop down we need to select the proper measure (column) we want to remove the decimals for. The first column in my table was text column, so i did not see the option of adjusting decimals. But after i chose the proper column from the drop down menu- everything worked as a magic 🙂
This worked for me! I wanted to report a measure both as a count and then as % of grand total, so I wasn't able to change the decimal places via Modeling since the original measure was a number, not a %.
Field formatting works for this reason.
You can go to the data view, select the appropriate column, and then select the Modeling ribbon and then formatting tab. You can either change to a Whole Number or reduce Decimal Number to show 0 decimal places.
How do you set the decimal number to zero decimal places? I see only "decimal number" and "fixed decimal number" neither with any variability. Fixed Decimal Number forces two decimal dollars wtihout options. Decimal Number forces float without options and without dollars. Only other Data Types available are Whole Number, Percentage, and the even less relevant kind.
thanks this was driving me crazy!!
I might be answering this question too late, goto Edit query->Transform -> Data Type -> Fixed decimal number . The value changes from type number to the accounting type($) . Right click on the variable,->transform -> round to remove the decimal points.
I don't really know since I've never used direct query with PowerBI. If you can't do it the same way as above, you might want to try duplicating the column after you're hooked up to your data and then trying to format the new column/table.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
110 | |
99 | |
94 | |
88 | |
70 |
User | Count |
---|---|
166 | |
131 | |
129 | |
102 | |
98 |