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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
donbesada
Frequent Visitor

API Dataset - Filter duplicate rows

Hi,

 

I have a dataset which is populated from Rest API. It basically reports  transaction time in minutes each month and displays the average.

 

Issue currently I have is for some months, I have duplicated rows for a particular month entry.

 

As per screenshot, I display 3 values ( 11 for August / 49 for September / 49 for October), therefore average should be 36.33

 

However, I have duplicate values for August month so PowerBi counts 11 + 11 for August + 49 for September + 49 for October / 4 = 30 minutes.

 

Is there any way to remove/filter the duplicate value for a row ? I've tried using DISTINCT function but couldn't get it working.

 

ThanksScreen Shot 2017-10-31 at 21.54.14.png

 

 

1 ACCEPTED SOLUTION

Hi @Anonymous,

 

Thanks for the inputs.

 

Unfortunately, the Query Editor is greyed out when the data source is a PowerBi Service dataset:

 

Screen Shot 2017-11-01 at 16.27.04.png

 

Hopefully, the feature to update/delete individual rows on a Service dataset will be available soon: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/9366600-update-rows-rest-api

 

Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @donbesada,

 

You can try to use power query to filter duplicate records.

5.PNG

 

>> I've tried using DISTINCT function but couldn't get it working.

DISTINCT function will remove records which every columns has the similar value(e.g. row1[column1] =row2[column1], row1[column2]=row2[column2]... keep one of them)

 

Regards,

Xiaoxin Sheng

Hi @Anonymous,

 

Thanks for the inputs.

 

Unfortunately, the Query Editor is greyed out when the data source is a PowerBi Service dataset:

 

Screen Shot 2017-11-01 at 16.27.04.png

 

Hopefully, the feature to update/delete individual rows on a Service dataset will be available soon: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/9366600-update-rows-rest-api

 

Regards

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.