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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
nmhung49
Helper II
Helper II

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)

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.