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
laurachung
Frequent Visitor

Default summarization method will not match actual summarization

Hi all!

 

So I have this one column which exists across a few tables (context below), which has default Summarization set to Sum (which I want), but every time I put it into a report, it takes the Average instead.

 

For a bit of background, I have several tables which have different data for the same projects. I've transformed these tables largely in the same way (among other things, transposing rows to columns, then promoting headers). After doing this, I've gone back into Excel and added two rows into my tables (which have then been transformed into columns after being pulled into Power BI). All of the data is pulling correctly for these new entries but I'm only getting this problem with the new columns, which leads me to believe that what I've done might be linked?

 

Any ideas on what the issue/solution might be? 

 

Thanks

 

1.PNG2.PNG

 

3.PNG4.PNG

2 REPLIES 2
laurachung
Frequent Visitor

Hi @v-yangliu-msft 

 

Thanks for the reply and apologies for the delay. The best I can do for you is to provide further detail in the form of screenshots. I hope this is enough.

 

To answer your questions first:

  • State-Wide Telephony is the column where the data is correct but the default Summarization is incorrect.
  • I just want State-Wide Telephony to Sum when I put it in a visualization, but for some reason it defaults to taking the Average.
  • The two rows were added after the Power Query was originally performed.

 

1: The original data - you can see months as headers and the project names are in the first column

1.PNG

 

2: I used the following transformations to transpose rows into columns and make the project names headers instead. The type changes were just from text to decimal numbers.

2.PNG

3.PNG

 

3: This is how the table displays in Data. The two columns that were added later are now on the end, after the index, and this is different to how it displays in Power Query. You can also see that the Summarization is set to Sum

4.PNG

 

4: However, when I drop State-Wide Telephony into a graph, it automatically gives me the Average rather than the Sum. Below is a stacked bar chart which I havent edited outside of selecting the fields. I don't have a problem with any other columns, not even with the second new column. 

5.PNG

 

I hope this helps to clarify things.

 

Laura

v-yangliu-msft
Community Support
Community Support

Hi  @laurachung  ,

What is the original data, what operations were performed in the power query, and whether the two rows were added before or after the power query was performed.

Is the column State-Wide Telephony where the data is incorrect? What does the actual effect need?

can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data

 

Best Regards,

Liu Yang

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

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.