cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
nmhung49
Advocate I
Advocate I

Actual & Budget with Line and stacked area chart

Hi, Team

 

I want to create a chart like the picture below

Is it the visual possible in Power BI?

Please see attached file

 

Thank in advance

 

Picture2.png

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @nmhung49,

I'd like to suggest you extract the all the year part to a new table and add the 'budget' to these values, then you can use this new field on your chart as legends and write a measure formula with switch function to check and redirect the result to differential expressions based on current category values.

My Favorite DAX Feature: SELECTEDVALUE with SWITCH | Winston-Salem Power BI User Group (pbiusergroup...

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi @nmhung49,

I'd like to suggest you extract the all the year part to a new table and add the 'budget' to these values, then you can use this new field on your chart as legends and write a measure formula with switch function to check and redirect the result to differential expressions based on current category values.

My Favorite DAX Feature: SELECTEDVALUE with SWITCH | Winston-Salem Power BI User Group (pbiusergroup...

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

@nmhung49 , Not exact the same. Both Month as axis, Year as Legend, and budget on secondary axis as line. In the line visual. Check for and the option will region below the line.(Usually there in Area)

Can you be more specific about it. I did it but it didn't work

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors