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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
HusseinKhalil
Helper I
Helper I

View plan & actual on same graph

I am stuck with the below, i want to draw both actual and plan on the same line, each for own color sure, actual vlaues should stop at feb-2020, while plan should be continued till march. garph values is the count of dates in each column. i created a calendar and have a relation ship between claendar[date] & Actual same goes for the plan.

Monthly Planned:=CALCULATE(COUNT('Table1'[Plan]),USERELATIONSHIP('Table1'[Plan],'Calendar'[Date]))

Monthly Actual:=CALCULATE(COUNT('Table1'[Actual]),USERELATIONSHIP('Table1'[Actual],'Calendar'[Date]))

 

below is how the data looks, also I am searching for support rgearding the running total measure. also i need support in this regard

 

ProductActualPlan
10011/2/202012/31/2019
10022/1/20201/1/2020
1003 2/2/2020
1004 3/3/2020
1 ACCEPTED SOLUTION

@HusseinKhalil ,

 

Let me know if this works out for you

https://www.dropbox.com/s/ofimalh8f9owi2g/cummActual_plan.pbix?dl=0

 

if you need more help make me @

Appreciate your Kudos.

View solution in original post

6 REPLIES 6
amitchandak
Super User
Super User

are they both joined with the calendar. one active and one inactive

 

Refer

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

Thanks  for your time, but this is not what i was looking for, topic i was refrred at is amazing, but it is not showing the  values on the same line graph, each ctaegory is viewed separetly, i need to present both column values on the same line. Actual values first then line continues to show the planned for the months that have no actual entries 

@HusseinKhalil , can you share better data and expected output and mark me @

 

Appreciate your Kudos.

@amitchandak

 

https://www.dropbox.com/scl/fi/o7021z3qixsj49sdo4iq7/DataToDropBox.xlsx?dl=0&rlkey=9j749l0aypbmrllgj...

 

Hello amitchandak

 

above dropbox link has the data, also a snap inside to how the output should look like, redline is for the actual column, blue line is for the plan. please ignore that dottedblue curve as well as the dashed black line.

 

thanks for your efforts. 

@HusseinKhalil ,

 

Let me know if this works out for you

https://www.dropbox.com/s/ofimalh8f9owi2g/cummActual_plan.pbix?dl=0

 

if you need more help make me @

Appreciate your Kudos.

Many thanks @amitchandak, sorry for the late reply 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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