Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I am literally pulling my hair out! My source data is YTD . I managed to create month only data but have run into an issue when I try to create a Full Year Budget. How can I show a full year budget that will not change with the date slicer?
Thanks in advance
Solved! Go to Solution.
Hi @LynnM ,
I suggest you to to try REMOVEFILTER() or ALL() function in your code. You can create a Dimdate table with continuous date ,then create a relationship between 'Data'[Date] and 'DimDate'[Date] and create a measure.
Measure:
YTD remove filter =
CALCULATE (
SUM ( 'Data'[Value] ),
FILTER ( ALL ( 'Date' ), 'Date'[Year] = YEAR ( TODAY () ) )
)
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @LynnM ,
I suggest you to to try REMOVEFILTER() or ALL() function in your code. You can create a Dimdate table with continuous date ,then create a relationship between 'Data'[Date] and 'DimDate'[Date] and create a measure.
Measure:
YTD remove filter =
CALCULATE (
SUM ( 'Data'[Value] ),
FILTER ( ALL ( 'Date' ), 'Date'[Year] = YEAR ( TODAY () ) )
)
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you! This worked.
Hi Lynn,
If measure is on filter, remove filter.
Filtering Tables in DAX - SQLBI
Could you post sample data?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |