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

Total - Tabelas

Bom dia,

 

Em diversos casos em que utilizo uma tabela eu gostaria de poder personalizar para cada coluna se insiro ou não o total.

 

Por exemplo:

 

Caso eu tenha a tabela abaixo:exemplo tabela.PNG

Eu gostaria que todos os totais aparecessem, com exceção do total destacado ($5.49), porém, quando vou configurar isso na tabela, o Power BI não me permite selecionar para quais colunas eu gostaria que o total aparecesse, permitindo apens ou inserir em todas as colunas ou em nenhuma.

 

Existe alguma forma de eu resolver isso, de preferência utilizando a tabela nativa do Power BI?

 

 

1 ACCEPTED SOLUTION

If you use measures for all of those, you could use the same technique where IF HASONEVALUE, show the measure, otherwise return BLANK. That will return nothing for the total line.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

I pretty much can't read a word of this, but I am guessing...

 

This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Not exactly,

 

It's a visualization problem.

 

There are a few columns that i wouldn't like that the total appears. But I can't personalize the total of only one column, so, or i have to show all the totals for the colums or none.

If you use measures for all of those, you could use the same technique where IF HASONEVALUE, show the measure, otherwise return BLANK. That will return nothing for the total line.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.