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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Performance Issue - Really Slow While Developing, probable datasource issue

Hi

 

My Power BI desktop product is super, super slow while i'm devloping it. 

Whenever i'm adding or updating a column or measure, it is giving me the  "Working on it" message for literally about 5 minutes at a time. Pressing save, same thing. Clicking to validate a change to a calculated column, same thing.

 

I have about 10 calculated columns. 

I choose calculated columns because i'm calculating row level results on a fact table. I don't have the knowledge to know a better way to do this. 

 

 

This lag started when:

I had an issue with the datasource, my fact table wasn't joining to my date dimension table because the fact tables date time wasn't matching up with the dimensions date due to the time element. 

I created a column in each table, using the format function to cast the date time columns as just dates. 

 

The new columns originally stored as text and i thought this was the cause of the slowness. I changed them to dates (it took ages!) and it has made no benefit to the lag. It is still taking 5 + minutes to make any changes.

 

What can i do?? this sucks. 

 

 

 

1 ACCEPTED SOLUTION

Hi there

 

If you are using a date table with relationships, I would suggest the following to hopefully improve performance.

 

Complete all the column modifications in the Power Query Editor. This will ensure that the data is persisted once it is loaded into the data model once only. It is also easier to do the conversions in the Power Query Editor.

 

Next go into the Options and settings and then Options for your PBIX and make sure to DESLECT Auto Date/Time and Allow data preview to download on background

 

The first one can make your model really large for every date or date/time column.

The second one will stop data being refreshed in the background, which can also really slow down your model.

 

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

Is your dataset very large?

First, please read power bi performance tips to know what would slow your performance and how to avoid it.

Second, If measures could also meet your requirements, you could create measures instead.

Calculated Columns vs Measures in DAX

 

 

In your scenario,

my fact table wasn't joining to my date dimension table because the fact tables date time wasn't matching up with the dimensions date due to the time element.

 

From above, i can conclude:

the key column to join fact table and date table is the "date" coulmn.

in fact table "date" column is of datetime type, while "date" column in the date table is of date type.

 

To solve above, 

You could duplicate "date" column(of datetime type) in the fact table,

then click on "Modelling"->"Data type", select "date". Then this column would be date type.

after this, create relationships between fact table and date table.

Or you could just duplicate "date" column(of date type) in the date table and transform it to "datetime" type.

 

Best Regards

Maggie

 

 

 

 

Hi there

 

If you are using a date table with relationships, I would suggest the following to hopefully improve performance.

 

Complete all the column modifications in the Power Query Editor. This will ensure that the data is persisted once it is loaded into the data model once only. It is also easier to do the conversions in the Power Query Editor.

 

Next go into the Options and settings and then Options for your PBIX and make sure to DESLECT Auto Date/Time and Allow data preview to download on background

 

The first one can make your model really large for every date or date/time column.

The second one will stop data being refreshed in the background, which can also really slow down your model.

 

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.