Forum Discussion
Critical performance issue - PBI Service
- 8 years ago
Hello
Firstly, my sincere apologies for the dramatic delay in response; there’s been a number of altercations over the past few months, one is that I’m moving on to pastures new in a few weeks. That said, I’ve been meaning to respond to this post to provide my input & responses to the above for several weeks now(!).
Thank you for your response; I skimmed over the insightful Microsoft doc you referred me too and was happy to read that I was following industry ‘best practices’ (except for using PBIs platform to replicate the functionality of SSAS in the absence of SSAS teck) in the overall BI implementation/solution. The (other) exception was the ‘network latency’ section; this very well could have been a strong factor in this performance issue, it has always been a serious concern of mine here and had flagged internally. Unfortunately, this matter remains inconclusive.
Thank you for your response; correct, quite a few. However, as mentioned in my original post was the fact that, due to office circumstances at the time, SSAS teck was NOT being implemented. As I’m sure you know, SSAS is a teck that enables ‘performance tuning’ within its feature-set; since my original post, now that I’ve built, deployed and handling the data processing of the BI solution exclusively in SSAS (once I’d introduced the teck into the office), performance is now “user friendly” as you might expect. Ultimately, just as some offices might “incorrectly” use Excel as a ‘flat file database system’ in a way that the Excel teck isn’t explicitly designed for, PBI was also being used in a way that it isn’t explicitly designed for, and you get ‘real-world’ problems as you might expect.
Thanks all. I am happy for this post to be closed.
Can you see if your data model has changed (As in gotten larger) or if there were new measures added?
Data Model: I deleted a lot of unnecessary (at now) columns and reduced imported records (my target was to expose result of last 5 years and I reduced to last two only.)
Measures: some measures added (and sametime I replaced SUM with CALCULATE+SUMX).
I created a role to manage row-level security. Microsoft documentation: ROLEs shouldn't have impacts in performance (I hope...).
I have also found a recently Microsoft article about new workspaces availability (https://powerbi.microsoft.com/en-us/blog/announcing-new-workspace-experience-general-availability-ga/) and I publicated my report in a new one (it seems a little bit more faster...).
One note again: we usually use PowerBI through internal Company Network (it is a huge worldwide network). I'll ask for possible problems bewteen internal Net and PowerBI servers (external)... but in this case, I should have same (bad) performance like my colleagues, I think.
Thanks,
BR
- AndreVar677 years agoFrequent Visitor
To confirm myself "row-level" security impacts (or not) on performance, I have added an user in the dataset group like ADMIN.
...and now he has same performance like few weeks ago !...
- GilbertQ7 years agoSuper User
Hi AndreVar67
Great that you deleted the unwanted columns and then reduced the data to the last 2 years.
I would suggest using a SUM instead of a Calculate + SUMX (SUMX is an iterator over rows, which is much slower in certain cases)
If you are experiencing issues when you add RLS, the one question I have due to it being a large organization are you using Power BI Premium?
The reason that I ask is because RLS has a seperate cache per user to ensure that they can only see their own data. And if you are using Power BI Premium this increases the memory allocated, and if you are running out of memory then it will slow down.
- AndreVar677 years agoFrequent Visitor
Hi GilbertQ
1. I tested both (SUM and SUMX) and SUMX in my measures has better performance
2. Yes, I'm working in a big Company.
I have a lot of table connected to the external sources and for each source, a lot of derived queries to check quality and harmonize different data strctures.
...and few final queries I use to expose data in report (hundred thousands records only).
...and I added role control through ALL tables....I have now deleted unnecessary ones and performance is better than before.
Really many thanks for your answers.
Bye!