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

Building a discontinuous chart with period data

Hi all, 

I am new in PowerBi and now need your help!

 

I have some data with startdate and enddate, how can I display it with period?

startdate          enddate         usage

9/01/201916/01/201949
2/02/20199/02/201948
10/02/201917/02/201948

I want to display it like different discontinuous lines in a chart.

 

Thx

Izzy

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@Anonymous ,

 

Drag date from a calendar table and add measure below.

Measure =
VAR d =
    SELECTEDVALUE ( 'Calendar'[Date] )
RETURN
    SUMX (
        FILTER ( Table1, Table1[startdate] <= d && Table1[enddate] >= d ),
        Table1[usage]
    ) + 0
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-chuncz-msft ,

 

Thank you for your reply, but I think thats not the solution I excepted. If there are 0 in the graph and there will be an increase from 0 to 48. 

 

What I want to build is a discontinuous chart which are isolated.

 

Thanks,

 

Izzy

Anonymous
Not applicable

Untitled.png

Need something like this

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.