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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
deb_power123
Helper V
Helper V

DAX calculation for removal of duplicate rows

Hi,

 

For the source table below , I have repeated rows one for India and another for Delhi location .

 

Another for India and Goa location. 

 

I want to hide all those rows with India(marked in bold in the below table) location and want to only keep the rows with Delhi and Goa location .I have many enteries like this so it should be don via some DAX. Please suggest.

 

Source Indput:

SchoollocationAveragemarks
ABCIndia90
ABCDelhi90
DEFIndia89
DEFDelhi89
DEJIndia75
DEJGoa75
DEMIndia97
DEMGoa97

 

Expected Output :

SchoollocationAveragemarks
ABCDelhi90
DEFDelhi89
DEJGoa75
DEMGoa97

 

Kind regards

Sameer

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Filter Location Column from the power query.

vairag99_0-1648207806697.png

Then save and close the power Query editor.
2. You Can Use DAX Also

New_Table = FILTER('Table','Table'[Location]<>"India")

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Filter Location Column from the power query.

vairag99_0-1648207806697.png

Then save and close the power Query editor.
2. You Can Use DAX Also

New_Table = FILTER('Table','Table'[Location]<>"India")

Awesome

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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