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.
I created a blank table data source in a dataflow, and am trying to figure out how to edit it now. In desktop, the applied step/source has a gears icon you can select that opens a window to edit the table. Data flow doesnt have the same icon, or at least I dont see anything obvious on how to edit it. Its not like other steps where you can just edit the m query - this has embedded the table data in binary, and then wrapped that with a bunch of m query commands to deflate the binary and make a table. Desktop does it in the same way, but you can still edit the table.
Am I missing something?
Solved! Go to Solution.
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("fZRBrsMwC.....", BinaryEncoding.Base64)
I can reproduce this. This kind of function will exist when you use "Enter Data" button in power bi desktop, however, it seems like dataflow doesn't allow user to change data they entered currently. I would suggest you to submit your idea here. As a workaround, you can create a blank query and use power query language below to generate or modify a table:
let Source = Table.FromRecords({ [CustomerID = 1, Name = "Bob", Phone = "123-4567"], [CustomerID = 2, Name = "Jim", Phone = "987-6543"] , [CustomerID = 3, Name = "Paul", Phone = "543-7890"] , [CustomerID = 4, Name = "Ringo", Phone = "232-1550"] }) in Source
Regards,
Jimmy Tao
Hi there
You should be able to go into the dataflow, then click on Edit Entities and click on the table and select Advanced Editor
Advanced Editor pulls up the M Query editer, but not a table editor to change the data on the table. You see this, not the table data within the Binary.FromText function...
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("fZRBrsMwC.....", BinaryEncoding.Base64), Compression.Deflate)), let _t = (type text) meta [Serialized.Text = true] in type table ....
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("fZRBrsMwC.....", BinaryEncoding.Base64)
I can reproduce this. This kind of function will exist when you use "Enter Data" button in power bi desktop, however, it seems like dataflow doesn't allow user to change data they entered currently. I would suggest you to submit your idea here. As a workaround, you can create a blank query and use power query language below to generate or modify a table:
let Source = Table.FromRecords({ [CustomerID = 1, Name = "Bob", Phone = "123-4567"], [CustomerID = 2, Name = "Jim", Phone = "987-6543"] , [CustomerID = 3, Name = "Paul", Phone = "543-7890"] , [CustomerID = 4, Name = "Ringo", Phone = "232-1550"] }) in Source
Regards,
Jimmy Tao
I went back to the pbix file that I had before I was using dataflow, edited the table there and relplaced the uninterpretable characters in the function Binary.FromText("..."
I had to do that more selective change because when I tried just replacing the code for the whole statement, or the code for the whole table (advanced editor), I got an error "An error occured while validating your queries." and this was the only way I found past it.
This seems like a gap in data flow.
I'm afraid the encrypted data in Binary.FromText should not be modified manually. Have you tried the workaround?
Regards,
Jimmy Tao
I didnt try the workaround as the table is too large; I needed to paste it in from Excel.
I didnt modify the data, just replaced it. I havent noticed an issue yet. Where I did have an error was when I pasted in the whole line of code from desktop or the whole advanced editor code from desktop. But, replacing just the encrypted part within the quotes seemed to work. Not sure why I couldnt replace the whole line of code or what the error means.
Hi there
You could click on Source and then the Gear Icon to bring up the original table?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.