Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
As a PQ newbie I can't solve this simple transformation. The data structure is very simple and obvious for a human. However, PQ can't seem to be able to figure it out with "column from example". I am looking for a solution with minimal manual intervention. Here is the actual dataset and the desired result (bear in mind that there could be 100s of different names and various number of dates for each name) :
Solved! Go to Solution.
Simple for a human isn't necessarily simple for a machine...
You can add a column like
= Table.AddColumn(PriorStepOrTableName, "Dates", each if Text.Contains([Date], "-") then null else [Date], type text)
Now you can just use Fill Down on the new column.
--Nate
Simple for a human isn't necessarily simple for a machine...
You can add a column like
= Table.AddColumn(PriorStepOrTableName, "Dates", each if Text.Contains([Date], "-") then null else [Date], type text)
Now you can just use Fill Down on the new column.
--Nate
Excellent! Thank you Nate.
There is a little extra step, that is to replace "Error" by "null" before fill down.
A little less newbie now 🙂
right click on the red line above and select replace errors and then type null
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
24 | |
13 | |
12 | |
11 | |
8 |
User | Count |
---|---|
43 | |
26 | |
16 | |
15 | |
12 |