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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Vinay1312
New Member

Line Graph

Hi Community,

I am trying to create a line graph in which i am using a measure to compute Running total of Sales for FY 2023-2024.

On X axis - Apr,May,June....so on 

In Legend - Region (East,West,North,South)

On Y Axis - Running total  = IF( MIN(Dates[Date]) <= TODAY(), calculate(sum(Sales),calendar[date] <= max(calendar[date])), BLANK())

For East,West,North Region we have data from Apr 2023 till March 2024,but for south Region we only have data from Apr 2023 till June 2023  , so when I am creating line chart i should get 4 lines in total for diffrent region and for South Region it should show data till June 2023 only and for the other regions since we have the data for FY 2023-2024 so it should show the lines accordinly.

But when I am using above fields and measure all four lines are coming up from Apr 2023 to March 2024.

@GuyInACube  @AlbertoFerrari 

1 REPLY 1
mahenkj2
Solution Sage
Solution Sage

HI @Vinay1312 

To replicate the problem, its better if you post sample data which can be right away copied and tested. An image of output would also be helpful. all this should be dummy data.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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 Solution Authors