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
FelipeGomara
New Member

How to show the sum instead of the mean in total line of a table of a quick measure field

Hey guys, its fairly a simple question regarding PowerBI Desktop:

I've created a new measure with "quick measure" (named as "Qtd. Integralizada", it is a division of two sums) and inserted it on a visualization table on my project.

The problem is, instead of showing the total sum on the last line of the table, it is showing the mean, as highlighted in yellow below:

Captura de tela 2023-07-04 132234.png

Normally, I would change this by right clicking the field on the visualization editing and selecting "Sum" as depicted below:

Captura de tela 2023-07-04 132511.png

But instead, this options are not available when right clicking the newly created field:

Captura de tela 2023-07-04 132754.png

Does anyone know how can I work around this issue?

2 REPLIES 2
amitchandak
Super User
Super User

@FelipeGomara , If we create a measure that uses row context. grand total might not match

Using the column in visual have a new measure like

 

Sumx(summarize(Fact, Fact[Codigo IF], Fact[ISIN], Fact[Subori], "_1", [QTD measure]), [_1])

I don't know if my knowledge on Power BI is too scarce, but I did not understand this solution, is there a topic that I ought study in order to conceive this explanation? 

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.