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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register 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
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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