Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don'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.

Reply
AndreasFu
Frequent Visitor

How to manually change a specific cell?

Hi,

I have a problem where I dont get the correct data from third party. I can´t manually edit the source (csv file) since we download a new version of it every 12 hours. So my idea was to manually set the value in power bi.

I have two rows with null values:

AndreasFu_0-1689327510489.png

If I click the cell that I wanna change and choose replace values

AndreasFu_1-1689327556171.png

And there set the value I want, it changes null values to the value I set in that colum and not only the specific cell. Since I have 2 null values in that colum it set both values to the value I choose. But I want the cells to have two diffrent values. Can this be done?

Here it shows when I try to change one cell to GRAMPIAN and it changes both cells in that colum.

AndreasFu_2-1689328000977.png

 

1 ACCEPTED SOLUTION
gregoliveira
Helper II
Helper II

Hi!

 

The easier way to accomplish what you want is first you replace for a standard value, then use the formula bar to edit the code, something like, for example:

 

From:

= Table.ReplaceValue(
#"Last Step",
null,
"standard",
Replacer.ReplaceValue,
{"ColumnToReplace"}
)

To:
= Table.ReplaceValue(
#"Last Step",
null,
each if [ColumnToAnalyze] = "Value" then "Answer 1" else "Answer,
Replacer.ReplaceValue,
{"ColumnToReplace"}
)

 

If you have trouble to define the expression to replace (bold snippet), create a new column to form the value, then use it here.

Hope I helped you!

View solution in original post

2 REPLIES 2
gregoliveira
Helper II
Helper II

Hi!

 

The easier way to accomplish what you want is first you replace for a standard value, then use the formula bar to edit the code, something like, for example:

 

From:

= Table.ReplaceValue(
#"Last Step",
null,
"standard",
Replacer.ReplaceValue,
{"ColumnToReplace"}
)

To:
= Table.ReplaceValue(
#"Last Step",
null,
each if [ColumnToAnalyze] = "Value" then "Answer 1" else "Answer,
Replacer.ReplaceValue,
{"ColumnToReplace"}
)

 

If you have trouble to define the expression to replace (bold snippet), create a new column to form the value, then use it here.

Hope I helped you!

Thank you so much, I've will try this out.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.