Forum Discussion
Add column with next date filtered by another dates table
- 6 years ago
Hi richard-powerbi,
Please see the attached file with the solution, the file contains Table1 and Table2 as per your sample and Function "Next Day Function" that has been invoked in Table1
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
Hi richard-powerbi,
Please see the attached file with the solution, the file contains Table1 and Table2 as per your sample and Function "Next Day Function" that has been invoked in Table1
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
- richard-powerbi6 years ago
Post Patron
Thank you Mariusz, excellent solution.
You also got me interested in this:
= Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("VcjJCQAgDATAVmTfCjk0YC0h/beh5Lcwr8mEYmKY6F2iH2omjM76nM77Nt3uO3SnL+gCVQ8=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [ID = _t, Date = _t])- Is it possible you could help me understand this syntax and how I could replicate something like this?
- I tried to convert this back with a web converter using Base64, but I couldn't get the expected result. Why is that?
- Is it also a good solution for storing data 'inside' the pbix file? Let's say, would it be possible to import external text files with a query, combine them, compress and store them inside the pbix, and then use this data for further processing? Because I'm looking for a way to keep the data 'inside' when the original files are removed...
If you want I can make an extra topic for this so you get new kudo's and it can be marked as a solution. Perhaps a Mod can split up this topic?
- Mariusz6 years ago
Community Champion
This code is generated internally by query editor when you use "Enter Data" functionality.
I have never look dipper into that topic so probably you are better off creating new topic.
All I can say, there is a limitation to how many rows/columns you can paste there.
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.