Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello Everyone,
The questions is how to fill the cell with top value if it is empty, if it is not empty -> skip.
The difficulty is that there is not connection or path between country <-> city.
Any help would be appreciated 😃
Solved! Go to Solution.
You can fill down and use replace value with some dummy input.
Next adjust the generated code as in the query below.
An additonal step is required to restore the column types, as this use of Table.ReplaceValue changes all column types to "any".
let Source = Table1, #"Filled Down" = Table.FillDown(Source,{"Country"}), #"Replaced Value" = Table.ReplaceValue(#"Filled Down",each [Country],each if [City] = null then null else [Country],Replacer.ReplaceValue,{"Country"}), #"Restored ColumnTypes" = Value.ReplaceType(#"Replaced Value",Value.Type(#"Filled Down")) in #"Restored ColumnTypes"
You can fill down and use replace value with some dummy input.
Next adjust the generated code as in the query below.
An additonal step is required to restore the column types, as this use of Table.ReplaceValue changes all column types to "any".
let Source = Table1, #"Filled Down" = Table.FillDown(Source,{"Country"}), #"Replaced Value" = Table.ReplaceValue(#"Filled Down",each [Country],each if [City] = null then null else [Country],Replacer.ReplaceValue,{"Country"}), #"Restored ColumnTypes" = Value.ReplaceType(#"Replaced Value",Value.Type(#"Filled Down")) in #"Restored ColumnTypes"
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
72 | |
62 | |
51 | |
48 |
User | Count |
---|---|
206 | |
90 | |
62 | |
59 | |
57 |