cancel
Showing results for
Did you mean:
Regular Visitor

Measure for Budget 12 months vs YTD for some months

Hi Guys,
I've tried a lot diff Dax to calculate a Chart to show the Budget for 12 months vs. YTD for the accumulated amount by the current month or something like Jan-Apr.

But as you can see below, it calculates properly until April, and after that, they keep the same amount through the year. And my idea for the current value is to show it until April and stop.

1 ACCEPTED SOLUTION
Community Champion

Hi, @Mvieira

I am not quite sure how your measures look like, but please try something like below for your Current Acc Rev Meausre.

New Measure =
IF ( NOT ISBLANK ( [Current Rev] ), [Current Acc Rev], BLANK () )

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

Best regards, JiHwan Kim

4 REPLIES 4
Regular Visitor

Thanks for the answer, but in my case, it does not work because the "current" numbers are composted like this:

Jan - Current \$
Feb- Current \$
Mar- Current \$
Apr- Current \$
May to Dec - Forecast \$.

Current ACC Rev =
TOTALYTD(
SUM(fLTF[Net Sales]), DimDate[IdDate],
DATESBETWEEN(DimDate[IdDate], "01/01", "04/30"))

Community Champion

Hi, @Mvieira

Please share your sample pbix file's link here, then I can try to look into it to come up with a more accurate measure.

Thanks.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

Best regards, JiHwan Kim

Regular Visitor

Hi @Jihwan_Kim I have to add another column to identity if the numbers are Current or not, after that, I've used your New Measure =
IF ( NOT ISBLANK ( [Current Rev] ), [Current Acc Rev], BLANK () ).

Thank you very much

Community Champion

Hi, @Mvieira

I am not quite sure how your measures look like, but please try something like below for your Current Acc Rev Meausre.

New Measure =
IF ( NOT ISBLANK ( [Current Rev] ), [Current Acc Rev], BLANK () )

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

Best regards, JiHwan Kim

Announcements

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.