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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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)

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

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

August Carousel

Fabric Community Update - August 2024

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