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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
jbjs5820
Helper I
Helper I

Rolling = Real + BGT

Hello, 

I´m trying to calculate only a a Real + Budget.

 

The formula is = If( [Real]<>Blank();[REal];[BGT]

 

It gives me month to month what i want.

 

The Problem is in the End ( The sum is Wrong). And if i make a YTD of it, it goes only to where i have Real Data..

 

Here is a Picture of it. Rooling PDV shoud be  = 9313K not 6.266K. 

 

dax.png

1 ACCEPTED SOLUTION

Hi,

 

I removed the data field from the row labels and dragged Year and Month Name field from the DATA Table.  I modified the Rolling PDV formula to

 

=if(HASONEVALUE(DATA[MonthName]),if([Real n Pdv]=Blank(),[BGT(JL)],[Real n Pdv]),SUMX(SUMMARIZE(DATA,[MonthName],"ABCD",if([Real n Pdv]=Blank(),[BGT(JL)],[Real n Pdv])),[ABCD]))

Here's a screenshot

 

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

11 REPLIES 11
Ashish_Mathur
Super User
Super User

Hi,

 

your question is not clear.  What is 9313?  Where did that come from?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

9313K Should be the total of Rolling.

864.175,00
718.271,00
746.611,00
750.538,00
800.788,00
770.699,00
813.206,00
802.635,00
770.857,00
758.295,00
753.692,00
763.650,00
9.313.417,00

Hi,

 

OK.  I get it now.  Please share the link from where i can download your file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

do you need the file?

How can i share the file?

 

Upload it to OneDrive/Google Drive or an other such service and share the download link.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi,

 

I removed the data field from the row labels and dragged Year and Month Name field from the DATA Table.  I modified the Rolling PDV formula to

 

=if(HASONEVALUE(DATA[MonthName]),if([Real n Pdv]=Blank(),[BGT(JL)],[Real n Pdv]),SUMX(SUMMARIZE(DATA,[MonthName],"ABCD",if([Real n Pdv]=Blank(),[BGT(JL)],[Real n Pdv])),[ABCD]))

Here's a screenshot

 

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thanks a lot!

 

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
coollehavre
Frequent Visitor

Hi,

excuse me but i don't have solution but i would like to create a message and how to post an image in a post (the insert image option input "source" ?

 

Thanks 

Ctrl +printscreen . Save and post

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.