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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.