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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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