cancel
Showing results for
Did you mean:

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Frequent Visitor

## Character Limit on Value Function?

Hello,

Is there a character limit on the Value function?

I have a concanted column with values in lengths from 6 to 7071, if I try to convert it to a whole number or even add a new column by using test = value(column) I receive an error. However it seems to work for text lengths less than 309 characters.

1 ACCEPTED SOLUTION
Super User

@Emanshu Given your observed behavior of a 308 character limit, it looks like it's interpreting the values as decimals, which are limited to roughly 10^308. Note that even within this limit, you only get about 15 decimal digits of reliable precision.

May I ask what you need such giant numbers for? Typically, it makes more sense to work with text strings with data of that lengh.

3 REPLIES 3
Super User

@Emanshu , the whole number have limitation in term of size

check limits here - https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-data-types

Super User

@Emanshu Given your observed behavior of a 308 character limit, it looks like it's interpreting the values as decimals, which are limited to roughly 10^308. Note that even within this limit, you only get about 15 decimal digits of reliable precision.

May I ask what you need such giant numbers for? Typically, it makes more sense to work with text strings with data of that lengh.

Frequent Visitor

@AlexisOlson Thank you for the clarfication.
My goal is to create an identifyer for unique number patterns/sequences.  These are the first 3 account numbers that are posted by journal ID, I would like to see what unique patterns are occuring in each journal ID.

My next step is to just pull the first number of each acconut per journal id, and try to create a sequence that way. The first number will at least tell me if it is an asset/liab/exp and so forth. Then this way I can reduce the size of each value and still try and acheive some type of pattern/sequence recognition.

only issue I have now is pulling the distinct number and not include repeating digits as seen below.

Announcements

#### Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

#### Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

#### Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

#### The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors