Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to use ALLSELECTED respecting the values/filters of the columns in a visual table

Hi everyone,

My question here is very simple, how can I use the ALLSELECTED function respecting the total values/filters of the columns in a visual table?

I created the first visual table with a simple SUM, divided by months at the columns,

Then I create a second table, but I would like to return in each row, the total sum by month from the first table,

Here an example of where I'm stuck, I think a simple change in my code below would resolve this problem,

 

RodCamargoJr_0-1690565851726.png


I would appreciate help from someone here, thank you, guys,

1 REPLY 1
tamerj1
Super User
Super User

Hi @Anonymous 
Please try

Desempenho Medio (Fornecedor) =
CALCULATE (
    SUM ( 'C-FORECAST'[Realizado] ),
    ALLSELECTED ( 'C-FORECAST'[Armadores] )
)

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.