I have created the query for the powerbi Run a query against a dataset
// DAX Query
DEFINE
VAR __DS0Core =
SUMMARIZE('crm', 'crm'[carrier_code], 'crm'[max_date], 'crm'[region])
VAR __DS0PrimaryWindowed =
TOPN(501, __DS0Core, 'crm'[carrier_code], 1, 'crm'[max_date], 1, 'crm'[region], 1)
EVALUATE
__DS0PrimaryWindowed
ORDER BY
'crm'[carrier_code], 'crm'[max_date], 'crm'[region]
but after this I have not been able to get this data added or appended to a sharepoint list.
The data is carrier code , region and max_date , the aim is to add a row to sharepoint list if code does not exist , or apend a row if code exist , if appending row I just need the max_date changing. I have created the sharepoint list with matching column names. But have not been able to find a way to get this task completed. Any help would be much appreciated thanks