Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Convert decimal into Whole Number
09-21-2022
10:53 AM
I have a calculated column with long decimal numbers (col3). I want to change it into a whole number (like in col4) so that I can apply LOOKUPVALUE function to pull a column form another table. When I change data type to "Whole Number" or apply ROUND function to 0 digits (sometime ROUND function throw error saying greater than 64 bit integer) , visually decimal value changes to whole number but it still acts like a decimal number. How can I convert decimal number into a whole number and make it acts like a regular whole number?
Note: The solution has to be either in DAX or in Data Mode table not in Power Query. Any help will be appreciated!
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2022
11:13 AM

col4 = ROUND([Col3],0)
Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!: Power BI Cookbook Third Edition (Color)
DAX is easy, CALCULATE makes DAX hard...

Helpful resources
Recommendations
Subject | Author | Posted | |
---|---|---|---|
06-06-2024 11:09 AM | |||
08-26-2022 11:27 AM | |||
10-22-2024 07:07 PM | |||
12-19-2024 05:48 PM | |||
10-23-2024 07:46 AM |
Featured Topics
Top Kudoed Authors (Last Month)
User | Count |
---|---|
122 | |
107 | |
85 | |
52 | |
46 |