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
JerryT
Frequent Visitor

Visualizing data monthly which contains only start date and end date

Hi,

 

If I have every single sales order which contains [PN] [OrderDate] [Price] and [Qty], I can visualize the data to show the graph I desire like this.

JerryT_0-1695720315422.png

 

Now I have another table which contains only [PN] [StartDate] [EndDate] [Price] [EstimatedPeriodQty].
Is this possible to visualize this table just like graph above?

The best solution I found here's posted by Mauriusz as below link to emulate the whole sales record.

https://community.fabric.microsoft.com/t5/Desktop/Calculate-pro-rated-amount-over-a-period-of-time/m...

But I'm curious, is there a built in function for power bi to do the job?

1 REPLY 1
Anonymous
Not applicable

Hi @JerryT ,

 

You could try creating a new column that contains the month information by extracting it from the start dates or end dates columns.

Then drag and drop the newly created month column into the Axis field well to set it as the x-axis.

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

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.