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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Broly221
Frequent Visitor

removefilters makes other row appears

I have a table like this one: 

Broly221_0-1676410668355.png

I have filtered it to get only data for 1 jan like this :

Broly221_1-1676410723111.png

I have created a measure the removes the filter on the date : calculate(sum(Amount), removefilters(date))

because I want to know the total amont:

Broly221_2-1676410875721.png

 

probleme is i get new rows like this :

Broly221_3-1676410915135.png

but that's not what I want. I want to keep the number of rows that I got after filtering.

 

How can I do this please ? thanks

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @Broly221 

 

Is your expected result in a table visual? If so, you need to remove the [ref] column from the table visual, then you will find your [amount removefilter] measure works correctly. 

vjingzhang_0-1676426022633.png

 

This is because when [ref] column is in the same visual, it will pass a filter to other columns, leading to change the result of measures. If you want to have [ref] column in the same table visual, you have to add [ref] column in REMOVEFILTERS function too.

vjingzhang_1-1676426421001.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors