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
rajasuresh
Regular Visitor

Not able to summarize date column to month wise to create table with summary of sales

Hi,

 

Thanks for reading my question and coming forward to help me.

Objective: Creation of Graph which shows Month wise Average Per Order Sales Recived. It is good if I create table using master table just by adding additional columns or it is creating a new table with the master table.

 

Sample Date: Order No is unique, N number orders are delivered per Day (YYYY-MM-DD)

Master Table:

OrderNo       DeliveredDate      GrandTotal

1234              2022-01-01          450

5678              2022-01-01          500

5679              2022-01-01          650

5680              2022-02-01          500

5681              2022-02-01          550

5678              2022-03-01          500

 

I can share excel sheet with the data if required.

 

Thanks

Suresh

2 REPLIES 2
rajasuresh
Regular Visitor

Hi Liu Yang,

 

First of all thank you very much for responding to my problem, my sincerie apologies that I missed one important point i.e., date will have multiple years too i.e., 

 

OrderNo       DeliveredDate      GrandTotal

1234              2022-01-01          450

5678              2022-01-01          500

5679              2022-01-01          650

5680              2022-02-01          500

5681              2022-02-01          550

5678              2022-03-01          500

5679              2023-01-01          450

5680              2023-01-01          500

5681              2023-02-01          650

5682              2023-02-01          500

5683              2023-02-01          550

5684              2023-03-01          500

 

Thanks

Suresh

Anonymous
Not applicable

Hi @rajasuresh ,

 

Here are the steps you can follow:

1. Create calculated column.

Month = MONTH('Table'[DeliveredDate])

2. Create calculated table.

Table 2 =
SUMMARIZE(
'Table','Table'[Month],"Avg",AVERAGEX(FILTER(ALL('Table'),'Table'[Month]=EARLIER('Table'[Month])),[GrandTotal]))

3. Result:

vyangliumsft_0-1693445793879.png

 

Best Regards,

Liu Yang

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

Helpful resources

Announcements
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!

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