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
sivarajan21
Helper V
Helper V

Calculated Table causes performance issue and dataset refresh fails

Hi,

 

I have a calculated table called 'Invoice Issues' as below which is derived from the existing Data table:

sivarajan21_0-1708322251010.png

The main purpose of this table is to create a calculated column called 'Status' which is used in visual:

 

Calculated column:

sivarajan21_2-1708322671479.png

 

visual:

sivarajan21_1-1708322612532.png

 

This works perfectly and our report is liked by the customers.But this causes lot of performance issues and dataset report refresh fails in workspace.

 

Is there a way to creat this as a dax measure or any other alternate solutions is much appreciated?

PFA file herewith PR-419 - Data Coverage RLS ADB (1).pbix

 

@amitchandak @Ahmedx @marcorusso @Greg_Deckler @Ashish_Mathur @v-cgao-msft 

 

1 ACCEPTED SOLUTION

When you create a calculated table, the entire uncompressed table must be materialized in memory and then compressed. This could be a memory-intensive operation that works on your PC and fails on Power BI Service.

You should reduce that table by removing unused columns and remove unnecessary rows - e.g. keep only the rows that have an issue.

Or compute the column outside of Power BI, so it's processed like other tables segment by segment, reducing the memory requirement at refresh time.

 

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

Share a much smaller sample dataset with only the relevant tables.  Explain your requirement and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

When you create a calculated table, the entire uncompressed table must be materialized in memory and then compressed. This could be a memory-intensive operation that works on your PC and fails on Power BI Service.

You should reduce that table by removing unused columns and remove unnecessary rows - e.g. keep only the rows that have an issue.

Or compute the column outside of Power BI, so it's processed like other tables segment by segment, reducing the memory requirement at refresh time.

 

Hi @marcorusso 

 

Many thanks Sir for your quick response!

Apologise for delay in response! we will follow this going forward in our reports

Just wanna confirm,
 when you say outside of power bi, it means in our case it is Data Flow where transformations can be done?

when you say 'keep only the rows that have an issue.' that means applying Date range parameters in power query?

Is there a way to measure the performance of data model & dataflow similar to how dax studio is used for measuring the power bi report performance?

sivarajan21_0-1708694049094.png

 

 Thanks in advance!

 

@amitchandak @Ahmedx @marcorusso @Greg_Deckler @Ashish_Mathur @v-cgao-msft @Daniel29195 

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.