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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Hi team, can you help me with my scenario:i have line graph where i have to show month wise actuals

 
7 REPLIES 7
Anonymous
Not applicable

Create a year and month column for the latest value and then use the line garph analytical option to set up the inbound and ounbound of confidence level like up to 95%

Anonymous
Not applicable

hi,Thanks for reply.I am having month slicer already but i want to show jan to dec in line graph,i have actuals timm may and for future months i want to caluclate the formula is divide(latest month actuals,latest month)+latest month value) for example jun value to be caluclated based on may and july based on june like that value to be caluclated till dec. line to be shown new values where actuals is blank. Appreciate your suggestions.

Anonymous
Not applicable

Hi Team,

below is some sample data and what i am expecting result please provide Dax function to get future values from june.

how to write this excel formula in dax.

Thanks in advance.

"Value" of Month      1      2      3      4           5                6                   7                   8              9            10               11             12
Monthjanfebmaraprmayjunjulaugsepoctnovdec
Actuals  980  936  859  980       825       
RR           825            990           1,155           1,320      1,485       1,650         1,815        1,980
Formula     (F5/F1)+F5(G6/G1)+G6(H6/H1)+H6(I6/I1)+I6(J6/J1)+J6(K6/K1)+K6(L6/L1)+L6

Hi, @Anonymous 

 

You can try the following methods.

RR = 
Var maxmonth=Month(CALCULATE(MAX('Table'[Date]),ALLEXCEPT('Table','Date'[Date])))
Var maxmonthactuals=CALCULATE(SUM('Table'[Actuals ]),FILTER(ALL('Date'),[Month value]=maxmonth))
Var dicide=DIVIDE(maxmonthactuals,maxmonth)+maxmonthactuals
return
IF(SELECTEDVALUE('Date'[Month value])=maxmonth+1,dicide,SUM('Table'[Actuals ]))

vzhangti_0-1658912981333.png

vzhangti_1-1658913005054.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi Zhanti, Thanks for your reply but i want the values to be shown for july,aug,sep,oct,nov,dec also.jul value to be caluclated based on June and aug value to be caluclated based on Jul and so on till dec. when i create measure using the above formula i can see the result till where i have physical data.

   please revise formula and also confirm month value in your formua is month num from calender table right

Hi, @Anonymous 

 

Can you provide some sample data or simple pbix files? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , Create a date table with monthyear column, join that with you date and use that

Month Year = FORMAT([Date],"mmm-yyyy")
Month Year sort = FORMAT([Date],"yyyymm")

 

Mark Month year sort as sort column on month year

 

You can use date hierarchy, Remove qtr and day

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.