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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors