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
Reuben
Helper III
Helper III

how to reduce table size

Hi all,

 

I have two talbles:

1 - Orders

       Orders[date]

       Orders[Order ID]

2- OrdersDetailed

     OrdersDetailed[Order ID]

     OrdersDetailed[SKU]

    OrdersDetailed[QTY]

Tables are linked by [Order ID] columns

 

Both tables are very big, so I have managed to reduce the firt table size by filtering the table "Orders"  from 2014 year onwards.

My problem is that as the table OrdersDetailed have no data column I dont know how to reduce its size ( It has 2 million lines)

 

Thank you very much for your feedback.

Rbn

1 ACCEPTED SOLUTION
AnkitBI
Solution Sage
Solution Sage

Hi @Reuben 

 

Can you try merge b/w OrdersDetailed and Orders table to Get OrderDate in OrdersDetailed table. Once done, you can filter OrdersDetailed based on OrderDate

 

= Table.NestedJoin(OrdersDetailed, {"Order ID"}, Orders, {"Order ID"}, "Orders", JoinKind.Inner)

Thanks
Ankit Jain
Do Mark it as solution if the response resolved your problem. Do Kudo the response if it seems good and helpful.

 

View solution in original post

5 REPLIES 5
braddo81
Helper II
Helper II

my database is over 30GB, the largest table is [CatalogItemExtendedContent] and is almost 30GB

can this be cleared out?

AnkitBI
Solution Sage
Solution Sage

Hi @Reuben 

 

Can you try merge b/w OrdersDetailed and Orders table to Get OrderDate in OrdersDetailed table. Once done, you can filter OrdersDetailed based on OrderDate

 

= Table.NestedJoin(OrdersDetailed, {"Order ID"}, Orders, {"Order ID"}, "Orders", JoinKind.Inner)

Thanks
Ankit Jain
Do Mark it as solution if the response resolved your problem. Do Kudo the response if it seems good and helpful.

 

thanks @AnkitBI great job!

Nathaniel_C
Super User
Super User

Hi @Reuben ,

 

Would it be possible to view the oldest date in your reduced table, look at the Order ID and go to the other table sort the table, and filter out all orders with an ID that is less than your Order ID.  Assuming Order IDs are sequential.

 

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





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

Proud to be a Super User!




Thanks @Nathaniel_C . The problem is that there is not secuential, depends on the order type

for the type 1 the order ID is Alphanumeric, for the type 2 is numeric.. etc

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.

Top Solution Authors
Top Kudoed Authors