cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pade
Advocate III
Advocate III

creating measures take long time

Having large datasets (~1 GB), creating new measures take vary long time, sometimes up to some minutes. It takes long time just from pusing the Create New Measure button untill the editor window is available as well as when the Measure is saved. Anyone else having the same issues and that knows the reason behind

1 ACCEPTED SOLUTION
RobbeVL
Impactful Individual
Impactful Individual

Yes, again!

Whenever you create a measure, PowerBI reviews its dataset to see what could inflict the new measure.
Having an imported dataset of +1gb is not fun to work with.

 

Is working with DirectQuery a possibility? This wil only load the data you actually use.

View solution in original post

7 REPLIES 7
RobbeVL
Impactful Individual
Impactful Individual

The reason is your dataset is way too large.

If you are working with a database, write some smaller queries to aggregate your data.

 

Thanks @RobbeVL , but please note that it's not the measure execution time that is long, it the creation of the measures that takes a very long time. The same thing whenever I change a measure.

 

Imaging creating a measuer like below:

foo = true()

 

Creating this very simple measure takes 3-4 minutes all together. Yes I know my dataset is large, but there are reasons for that and we are looking into both aggregations and other teqniques to decrease the size

RobbeVL
Impactful Individual
Impactful Individual

Yes, again!

Whenever you create a measure, PowerBI reviews its dataset to see what could inflict the new measure.
Having an imported dataset of +1gb is not fun to work with.

 

Is working with DirectQuery a possibility? This wil only load the data you actually use.

Thanks @RobbeVL ,

 

Yes I can understand validation is needed, but I guess review is not all that happens. If you e.g. crates a calculated table that in one of the columns generates random numbers, you will see that each time you create a new measure (could be as simple as Measure=1), the values in the random column are re-calculated. I can't see why this is happening, and if this is part of the reason that it takes a long time to create new measures I guss it's something that Microsoft can do better

I agree and would add this is not really acceptable.  I would question the idea that anything larger than 1 gb is large.   I've already cut down my facts to only a few years with the pbix down to 800k (was 1.5 gb) and still adding a measure takes minutes each time.  We do this same thing in SSAS and it's instantaneous.  Why is PowerBI desktop so much slower than visual studio with SSAS?  btw.....I'm running the same terminal server to do both SSAS and PBI desktop.

Nowadays Tabular Editor is the way to go here, but still...

I haven't used tabular editor other to unsuccessful attempt to use it to convert from SSAS to datasets.  Will give that a try for development work. 

 

In fear of preaching to the choir...So curious why Microsoft doesn't provide the tabular editor themselves?  So much emphasis on this tool and yet so little support for enterprise types of development.  What would make WAY to much sense is if they simply supported datasets in SSDT like SSAS. Then transitioning from SSAS to PowerBI datasets would be basically seemless rather than having to start over again in PowerBI.  Come on Microsoft....its the same product behind the scenes...seems insanity they are making this so difficult.  

Helpful resources

Announcements
Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors