Forum Discussion
How do you edit a blank table in dataflow?
- 7 years ago
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 SourceRegards,
Jimmy Tao
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.
- v-yuta-msft7 years agoCommunity Support
I'm afraid the encrypted data in Binary.FromText should not be modified manually. Have you tried the workaround?
Regards,
Jimmy Tao
- John17 years agoFrequent Visitor
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.