Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.
Here's an example of the issue with some dummy data:
I am adding annual projections to a number that is a sum from a different table.
I have historical data that is aggregated monthly.
I've made a measure that adds the annual projection adjustments to the current value, but the filter context is still monthly when you drill down. That means that only the months that hold the actual projeciton are reduced and the others are left at the scalar value.
I would like the projection to evaluate in a yearly context no matter what level of drill down is selected.
I've experimented with REMOVEFILTERS and CALCULATE , but I haven't found the right formula that would result in a sloped line instead of downward spikes whenever the projection month shows up.
The formulat I'm using so far for the measure is:
Solved! Go to Solution.
@smanderson ALLEXCEPT('Calendar'[Year]) ?
@smanderson ALLEXCEPT('Calendar'[Year]) ?
That was certainly better than anything I had tried so far.
It resullted in a stepped line. Is there a way to make it a gradual slope the same way it would look if the viz was aggregated by year instead of steps?
@smanderson Hmm. Well, one way would be to add a trend line. The other way you could compute the y-intercept and slope of the line and then return points using that line equation.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
76 | |
72 | |
69 | |
48 | |
40 |
User | Count |
---|---|
61 | |
41 | |
33 | |
31 | |
28 |