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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
mahajanravish5
New Member

Help with below Visual DAX calculation

mahajanravish5_0-1684310067773.png

Hi, I have created one measure Custom YTD. I know its wrong but if someone could tell me why and how its calcualting those valuse in matrix i will get clear understaning of how clacluate behaves with initial filter context. Thanks in Advance.

1 REPLY 1
johnt75
Super User
Super User

The filter conditions you are using are overriding the filter on year from the filter pane and the filter on month from the visual, so in e.g. April you are calculating all sales which happened before the end of April 2018. To merge the filters rather than override them you would need to use KEEPFILTERS.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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