Forum Discussion
Improving Summarize Efficiency
I'd be open to trying it that way, but I haven't so far been able to find a way to do the same process (pull a top value based on sorting 3 other columns) on the query end of things. Any ideas?
Well, I gave the query side a shot, and was able to accomplish the same task with the following code:
= Table.Group(#"Big_Table", {"ID"},
{{"First Value",
each Table.First(Table.Sort(_,
{{"Sort1", Order.Ascending}, {"Sort2", Order.Ascending}, {"Sort3", Order.Ascending}})
)[Value] }})However, this still runs into memory load errors and fails to run on the full data set. Not sure what else to try here. Unless anyone else has ideas, I think I'll try moving to R for the processing steps and then import back to Power BI to generate reports.
- v-huizhn-msft9 years agoMicrosoft Employee
Hi jambrose,
You use the SSMS connect your Power BI model. Then profilie Power BI Desktop Model using SQL Server Profiler using the following steps. More details, please review this article.
Thanks,
Angelia