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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Ignore a filter for a measure

Hi,

I would like to show a total sales measure on 1 chart, that ignores the sales person's contribution and
next to it should be the sales person's contribution.
Nothing seems to be working so far.

So the measure is:

 

Total Sales YTD = TOTALYTD([Total Sales];DATESYTD('Date Table'[Year-Month]))
 
So total for category and total for the chosen Sales person.
 

 

sales.PNG

 

Thank you,

Gabor

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @TomMartens 

The Measure you used worked great, but I did not see that there is another column for my filter as it was with table.
Image + name

 

So I had to write:

 

Total Sales YTD test 1 =
CALCULATE(
TOTALYTD([Total Sales];DATESYTD('Date Table'[Year-Month]))
;ALL('Adman (kisebb)'[2019 Sales]; 'Adman (kisebb)'[Képek])
)
 
Thank you so much! 🙂

View solution in original post

3 REPLIES 3
TomMartens
Super User
Super User

Hey,

 

not sure without sample data, but maybe this will do the trick:

Total Sales YTD All SalesPerson= 
CALCULATE(
    TOTALYTD([Total Sales];DATESYTD('Date Table'[Year-Month]))
    ,ALL('<tablename>'[columnofthesalesperson])
)

Hopefully, this provides what you are looking for.

 

Regards,

Tom

 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Hi @TomMartens 

The Measure you used worked great, but I did not see that there is another column for my filter as it was with table.
Image + name

 

So I had to write:

 

Total Sales YTD test 1 =
CALCULATE(
TOTALYTD([Total Sales];DATESYTD('Date Table'[Year-Month]))
;ALL('Adman (kisebb)'[2019 Sales]; 'Adman (kisebb)'[Képek])
)
 
Thank you so much! 🙂
Anonymous
Not applicable

Hi @TomMartens 

Unfortunately it did not work.
When i filtered for 1 sales person, the result was the same for the total sales and the sales person's contribution.

 

Total Sales YTD test 1 =
CALCULATE(
TOTALYTD([Total Sales];DATESYTD('Date Table'[Year-Month]))
;ALL('Adman (kisebb)'[2019 Sales])
)
 
So, 83M instead of 254M.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.