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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.