Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Neptune87
Frequent Visitor

dataflows is truncating my 19 digit number

I am getting data from on-prem SQL Server through dataflows and the last 2 digits of the 19 digit number are being changed to zero. Below is a screenshot of the data in SQL and Power Query after it is moved through data flows.Annotation 2019-06-25 174112.jpgAnnotation 2019-06-25 174224.png

 

4 REPLIES 4
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Neptune87 ,

By my test in power bi service with the dataflow, I cannot reproduce your issue.

Untitled.png

Actually, this is similar to that when we get data from SQL Server in power bi desktop.

Do you have this issue when you load data from SQL Server in Power BI Desktop?

In addition, what data type of the CallID do you set in your Database?

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-piga-msft,

Thanks for looking into this.

When I load the same table from Power BI Desktop all 19 numbers come over with no issues.

In SQL the Data Type is set to "bigint"

Hi @Neptune87 ,

By my tests with bigint type, I could reproduce your issue.

I'm afraid that should be by design in dataflow.

For a workaround, you may change the data type to be nvarchar so that it will be detect as text type when load in dataflow, then you could change it to be whole number type.

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Explanation of the fundamental need to solve the bigint problem in dataflow:

For us, this problem occurs when trying to load data from accounting system tables (1C) into a power bi project via dataflow.  Initially, the values of the key fields of all tables of the accounting system (1C) have the form similar to this  "ed1f21b7-6978-4cf0-8129-8ed16-f738103-dfeab1" .  Which allows you to make power bi projects using text key fields in downloadable tables.  But on big data, this makes the project heavier and slower.  

Provided, that millions of users work with the accounting system (1C), we would like to work with the BIGINT type for long key fields in DATAFLOW without unnecessary transformations and to have the INT64 data type worked equally well in both the power bi desktop project and dataflow.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors