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
Anonymous
Not applicable

Sum value with filter and total at the same time

I have two tables one of valor and another one of the month
I want to select the month by a filter and show the value
total of the selected month I got
now that I want to show the total independent value of selecting the month

 

If I have column year and selected

select Oct /2017

 

Capture.PNG

Look This image

I have to a new box with valor all "Mes"

Unidade = Organization

Ano  = Year

Mes = Month

Real Mes = Real Month

I have to = All Month

 

Ty

 

2 ACCEPTED SOLUTIONS
Abduvali
Skilled Sharer
Skilled Sharer

Hi @Anonymous,

 

Try creating a Calculated measure:

 

Total = calculate( sum( Sales ), filter( all( 'table name' ), 'table name' [year] = 2017))

 

This should give you your YTD Total, hope this helps.

 

 

Regards

Abduvali

View solution in original post

vik0810
Resolver V
Resolver V

Use following measure

 

Total = CALCULATE ( SUM ( yourtable[value] ), ALL( yourtable[month] ) )

View solution in original post

2 REPLIES 2
vik0810
Resolver V
Resolver V

Use following measure

 

Total = CALCULATE ( SUM ( yourtable[value] ), ALL( yourtable[month] ) )
Abduvali
Skilled Sharer
Skilled Sharer

Hi @Anonymous,

 

Try creating a Calculated measure:

 

Total = calculate( sum( Sales ), filter( all( 'table name' ), 'table name' [year] = 2017))

 

This should give you your YTD Total, hope this helps.

 

 

Regards

Abduvali

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.