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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
olimilo
Post Prodigy
Post Prodigy

Data format inconsistent between table in source dataflow and linked dataflow

I have a custom column calculated like so in the source dataflow:

 

olimilo_0-1781605523551.png

 

For example, a SP_DURATION with a value of 32 would return "4.00 MD".

 

olimilo_1-1781605583066.png

 

I have this table linked into another dataflow to combine it with another table but the format of the digits vary from its source:

 

olimilo_2-1781605666203.png

 

Is it possible to retain the data format from the source table of the source dataflow to the linked table in the other dataflow ?

1 ACCEPTED SOLUTION

No additional Changed Type steps were automatically added in the linked table.

 

I ended up deleting the linked table and re-adding it again after applying the changes which solved the problem.

View solution in original post

8 REPLIES 8
v-nmadadi-msft
Community Support
Community Support

Hi @olimilo ,

Thanks for reaching out to the Microsoft Fabric Community forum. 


Open the linked table in the downstream Power query and inspect the applied transformation steps. In particular, check whether a Changed Type step has been automatically added, as this can cause the column to be reinterpreted during ingestion. If the column type differs from the source dataflow (for example, Text being converted to a numeric type), the displayed format may not be preserved even though the underlying value remains unchanged.

 

I hope this information helps. Please do let us know if you have any further queries.
Thank you

No additional Changed Type steps were automatically added in the linked table.

 

I ended up deleting the linked table and re-adding it again after applying the changes which solved the problem.

parry2k
Super User
Super User

@olimilo I'm trying to understand your example code, so it is working, correct?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@olimilo, can you share the M code and remove any sensitive information from the code? I think something else is going on here. I need to look at the steps to understand the problem. From screenshot, I can see that when you are adding a custom column, you have given the data type as text, which means it doesn't need an extra change type step.

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

pcoley
Super User
Super User

@olimilo 

this is a known behavior with linked entities in Power BI Dataflows. The exact string formatting from Number.ToText(..., "F2") is not always reliably preserved when the table is linked into another dataflow. The downstream dataflow often re-evaluates or stores the text column with higher precision (showing many extra zeros).

 

Please try forcing the exact format in the source dataflow

In your source dataflow (where the custom column AuditMandays is created), add an extra step after the custom column to explicitly enforce the text format:

  1. Select the AuditMandays column.
  2. Go to TransformData TypeText (or right-click → Change Type → Text).
  3. If needed, add a Replace Values or Custom Column step to clean it:
Table.TransformColumns(PreviousStep, {{"AuditMandays", each Text.Trim(_), type text}})
Or force it with:
Table.ReplaceValue(PreviousStep, each [AuditMandays], each 
    if Text.Contains([AuditMandays], "MD") then [AuditMandays] 
    else Number.ToText(Number.Round([SP_SP_DURATION]/8, 2), "F2") & " MD", 
    Replacer.ReplaceValue, {"AuditMandays"})

 

If I helped solve your problem, mark this post as a solution.
Kudos are Welcome! | AI assisted for clarity of wording. |

This is actually mind-boggling to me. At the request of @parry2k , I created a dummy query containing sample data and the data from the linked table was showing the intended format:


(Dummy) Source Query from Source dataflow:

let
  Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjZS0lFyVIrViVYyNAMyncBMCyDLGcwyAbJcwKy80pwcIEcpNhYA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [SP_DURATION = _t, AUDITOR = _t]),
  #"Changed column type" = Table.TransformColumnTypes(Source, {{"SP_DURATION", Int64.Type}, {"AUDITOR", type text}}),
  #"Added custom" = Table.AddColumn(#"Changed column type", "Custom", each if [AUDITOR] = "" then "0 MD" else Number.ToText([SP_DURATION] / 8) & " MD"),
  #"Transform columns" = Table.TransformColumnTypes(#"Added custom", {{"Custom", type text}}),
  #"Replace errors" = Table.ReplaceErrorValues(#"Transform columns", {{"Custom", null}})
in
  #"Replace errors"

 

olimilo_0-1781684736105.png

 

(Dummy) Linked table data:

 

olimilo_1-1781684849216.png

 

I also did the same to the data direct from the source (Salesforce if it matters) and it was displaying correctly:

 

Source query from source dataflow:

let
  Source = ...,
  #"Added custom" = Table.AddColumn(Source, "Custom", each [SP_DURATION] / 8),
  #"Added custom 1" = Table.AddColumn(#"Added custom", "Custom (2)", each Number.ToText([Custom]) & " MD"),
  #"Transform columns" = Table.TransformColumnTypes(#"Added custom 1", {{"Custom", type text}, {"Custom (2)", type text}}),
  #"Replace errors" = Table.ReplaceErrorValues(#"Transform columns", {{"Custom", null}, {"Custom (2)", null}})
in
  #"Replace errors"

 

Linked table data:

olimilo_2-1781684923757.png

 

I simplified the query with the issue (ie: removing the columnType parameter of the Table.AddColumn function) and explicitly specifying the data type right after (as you suggested) but the text format getting passed on from the source to the linked table is still the same.

Fenil_Italiya
Frequent Visitor

Hello, @olimilo 

Could you please mentioned the more details regarding what you wants as result.

Either you wants to get data format of the calculated column in the 1.000000 format or you want anything else if you could explain it in the more details then it would be easy to give the solution.

It's literally there:

 

Is it possible to retain the data format from the source table of the source dataflow to the linked table in the other dataflow ?

 

Now to give a more specific example, if the table from the source dataflow is showing "4.00 MD", that is the exact same value I expect to see in the dataflow referencing that table, as shown in the images.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.