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
danielhough
Helper II
Helper II

Create aggregate table from larger table

Hey, 

 

I have a table with 100K+ rows and I need to create an aggregated table from this larger table. The aggregated table will have 10 or so columns and a values column. I've tried SUMMARIZE but the new table has blanks in rows and a summarizes the values column at the bottom. I need to create this aggregated table to feed into the custom add-in Arria, since BI has a 30K row limit for custom add-in.

 

Is this possible?

Thanks!

1 ACCEPTED SOLUTION

Hi @danielhough ,

 

I'm not sure if the result was caused by ROLLUP() function since there's no any sample data.

The addition of the ROLLUP() syntax modifies the behavior of the SUMMARIZE function by adding roll-up rows to the result on the groupBy_columnName columns.

Please refer to the document below and check if the ROLLUP() function effect the result in your scenario.

https://docs.microsoft.com/en-us/dax/summarize-function-dax.

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

4 REPLIES 4
v-jayw-msft
Community Support
Community Support

Hi @danielhough ,


I'm not sure what you mean about "the new table has blanks in rows and a summarizes the values column at the bottom".

Could you please share some sample data and expected result to me if you don't have any Confidential Information?

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Hello Jay, it may be hard to share data, so maybe I can start with the code Im using:

 

Summary HFM Table = SUMMARIZE('HFM_Data_QTD(5 quarters)_102319',
ROLLUP(ROLLUPGROUP('HFM_Data_QTD(5 quarters)_102319'[Date].[Year],
'HFM_Data_QTD(5 quarters)_102319'[Date].[Quarter],
'HFM_Data_QTD(5 quarters)_102319'[Date].[Month],
'HFM_Data_QTD(5 quarters)_102319'[Date],
'HFM_Data_QTD(5 quarters)_102319'[LOWEST_LEVEL_DESC_TX],
'HFM_Data_QTD(5 quarters)_102319'[LEVEL6_DESC_TX],
'HFM_Data_QTD(5 quarters)_102319'[LEVEL5_DESC_TX],
'HFM_Data_QTD(5 quarters)_102319'[LEVEL4_DESC_TX],
'HFM_Data_QTD(5 quarters)_102319'[LEVEL3_DESC_TX],
'HFM_Data_QTD(5 quarters)_102319'[LEVEL2_DESC_TX],
'HFM_Data_QTD(5 quarters)_102319'[LEVEL1_DESC_TX],
'HFM_Data_QTD(5 quarters)_102319'[ENT_BUS_UNIT_NM])),
"YTD_USD_NET_AMT",sum('HFM_Data_QTD(5 quarters)_102319'[YTD_USD_NET_AMT]))
 
The issues I have wtih this code is, I have a series of blanks cells in each column and a total at the bottom of the YTD column. 
 
Does this help?

Hi @danielhough ,

 

I'm not sure if the result was caused by ROLLUP() function since there's no any sample data.

The addition of the ROLLUP() syntax modifies the behavior of the SUMMARIZE function by adding roll-up rows to the result on the groupBy_columnName columns.

Please refer to the document below and check if the ROLLUP() function effect the result in your scenario.

https://docs.microsoft.com/en-us/dax/summarize-function-dax.

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Removing this worked! Thanks!!

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.