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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Mikaeljohansson
Frequent Visitor

Edit and delete data with API

Hi

I have created a simple loggbook in sharepoint where our employees fill in incidents during their shift. I use a flow to populate a table  (with API) shown in our dashboard for daily meetings.
An issue that we have, and that will decide the future use of power BI or software change, is that we can add rows but when we edit a row it adds it again. We cant delete a row either.  Is this att all possible? 

4 REPLIES 4
ranbeermakin
Resolver III
Resolver III

Hi there,

 

You can do that in Power BI Model. Pick the most recent row. I assume you have some row id or unique id to identify a row, and a modified or inserted date column.

 

Ranbeer

I have added unique ID to each row but can't seem to figure out how to filter by latest ID in a table view. Where do I find that function?

Thanks

@ranbeermakin  So, what I have is a sharepoint list. This is a logg book that both adds new loggs and uppdates others. I hear that I can use "X-PowerBI-PushData-SequenceNumber" But that is a bit beyond my scope att the moment.

This is my API att the moment:

[
{
"Title" :"AAAAA555555",
"Område" :"AAAAA555555",
"Datum" :"2020-04-20T10:23:25.758Z",
"Information" :"AAAAA555555",
"Avslutad" :"AAAAA555555",
"Eskalerad" :"AAAAA555555",
"Signatur" :"AAAAA555555",
"Ansvarig" :"AAAAA555555",
"Aktivitet" :"AAAAA555555",
"Beräknad klar" :"2020-04-20T10:23:25.758Z",
"Kommentar" :"AAAAA555555",
"Safety" :"AAAAA555555",
"Quality" :"AAAAA555555",
"Delivery" :"AAAAA555555",
"Cost" :"AAAAA555555",
"Working Climate" :"AAAAA555555",
"Environment" :"AAAAA555555",
"eskal_calc" :98.6,
"Key" :98.6
}
]
 
I use flow to push data with the oncreate or uppdate function.
What do I need to add to make sure only the latest version of the logg is used?
Thank you

I have yet to find a program as expensive and function lacking as Power BI be so unstable. With each uppdate, gateways stop working, functions get removed and it is a mayor pain, office 360 support is a joke.  All departments have decided to go for node red and Pie chart.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.