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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

removing data from a cell

How do I remove data from a cell?

 

I want to determine the percentage of each response option for Question 1, but I do not want two of the response options calculated in the percentage/total. I know if I create a measure using Calculate, it will automatically ignore blanks, so I would like to remove the data from the cells so the measure reads it as blank. When I unselect them while editing, it removes the whole row. I just want the data in the cell to be blank. 

 

Thanks 

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

As AlexisOlson suggested, you need to filter out those two rows by adding a filter context in measure calculation. For more advice, please post sample data and show us expected result.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AlexisOlson
Super User
Super User

Rather than editing your data, I would recommend writing your measure to exclude the rows you don't want to look at.

 

CALCULATE(
<% or Total Calc Here>, TableName[Response Option] <> "Response to Ignore #1", TableName[Response Option] <> "Response to Ignore #2" )

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors