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 have a table that correctly shows the "current savings" for this year to date (see below)
I want to add a fixed amount that is stored as a variable to each row... when I do this it seems to break the date context filter and shows ALL of the months in the year:
ANy idea what i'm doing wrong - what I want to see are months July through to current month with the current savings and measure for those months.
Thanks folks!
Solved! Go to Solution.
Hi,
I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your datamodel.
Value plue 100 measure: =
SUMX (
DISTINCT ( 'Calendar'[Month-Year] ),
CALCULATE ( IF ( [Value total measure:] <> 0, [Value total measure:] + 100 ) )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Schedule a short Teams meeting to discuss your question
Hi,
I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your datamodel.
Value plue 100 measure: =
SUMX (
DISTINCT ( 'Calendar'[Month-Year] ),
CALCULATE ( IF ( [Value total measure:] <> 0, [Value total measure:] + 100 ) )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Schedule a short Teams meeting to discuss your question
Thank you for replying. I have tried that and it works. I was wondering If there was a "best practice" way of handling constants and filter context?
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 |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |