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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

How to display the month wise values based on year selection in Line Chart

Hi Hello, We have requirement like below.

 

I have month wise data as shown below screenshot. i want to disply sum of values like if current month is lessthan previous month then need to display previous month else current month.

 

For Example, for May month we have sum is 15 which is lessthan previous month (April 25). i need to display values of May is same as April values. same for all month based on Year slicer selection in power bi.

 

Please help me on this.

Source Input:-

Bommineni26_1-1597035755045.png

 

Required Output:-

Bommineni26_2-1597035851353.png

 

Regards

Bommi

0 REPLIES 0

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Top Kudoed Authors