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

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

Reply
nm1729
New Member

Multiple dates on x-axis

Hello community!

 

I am trying to build an area chart that should look something like below:

 

Capture.PNG

 

I would like to overlay 3 sets of data - Each set has a dollar amount and a corresponding date (Ex. Amount paid & paid date, Bill amount & bill date etc). I would like the X-axis to show a general timeline, and the corresponding data points to be plotted for each day. The goal is to see for each time period (day/week/month) how much I have billed & been paid (Ex. 1Jan I billed $100 but I got paid $50).

 

Could you guide me how to achieve this using area charts

1 ACCEPTED SOLUTION
TeigeGao
Solution Sage
Solution Sage

Hi @nm1729 ,

In your scenario, we can create a date table with Hierarchy, please refer to the following example:

Assume that we have tables like below:

PBIDesktop_J8aGuLSvq3.pngPBIDesktop_mDVHOgNw7g.png

Then we can use the following DAX query to create a date table:

date =
ADDCOLUMNS (
    CALENDAR ( DATE ( 2019, 1, 1 ), DATE ( 2019, 2, 20 ) ),
    "week", WEEKNUM ( [Date], 1 ),
    "month", MONTH ( [Date] )
)

Create relationship between date table with these two tables, then drag the week and month to the date creating the date Hierarchy:

NbJbhvOI2y.gif

Then we can create the visual, after that, we can drill down the data from month to week to day:

E7M2eucWq4.gif

Best Regards,

Teige

View solution in original post

1 REPLY 1
TeigeGao
Solution Sage
Solution Sage

Hi @nm1729 ,

In your scenario, we can create a date table with Hierarchy, please refer to the following example:

Assume that we have tables like below:

PBIDesktop_J8aGuLSvq3.pngPBIDesktop_mDVHOgNw7g.png

Then we can use the following DAX query to create a date table:

date =
ADDCOLUMNS (
    CALENDAR ( DATE ( 2019, 1, 1 ), DATE ( 2019, 2, 20 ) ),
    "week", WEEKNUM ( [Date], 1 ),
    "month", MONTH ( [Date] )
)

Create relationship between date table with these two tables, then drag the week and month to the date creating the date Hierarchy:

NbJbhvOI2y.gif

Then we can create the visual, after that, we can drill down the data from month to week to day:

E7M2eucWq4.gif

Best Regards,

Teige

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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