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
Hi power bi experts.
I am tring to create a summarize table in power bi.
My sample tables are.
Calender Table
| Date | Year | Month |
| 1/01/2023 | 2023 | 1 |
| 2/01/2023 | 2023 | 1 |
| 3/01/2023 | 2023 | 1 |
| 4/01/2023 | 2023 | 1 |
| 5/01/2023 | 2023 | 1 |
| 6/01/2023 | 2023 | 1 |
Product Table
| Product ID | Prodct Name |
| 1 | AA |
| 2 | AB |
| 3 | AC |
| 4 | AD |
Sales Table
| Date | Product ID | Qty | Amount |
| 5/01/2023 | 1 | 5 | 120 |
| 10/01/2023 | 2 | 2 | 50 |
| 12/01/2023 | 1 | 10 | 240 |
| 20/01/2023 | 3 | 5 | 150 |
I need to create a Month to Date summary table as follow.
Expected Table
| Date | Product | Qty | Sales |
| 31/01/2023 | AA | 15 | 360 |
| 31/01/2023 | AB | 2 | 50 |
| 31/01/2023 | AC | 5 | 150 |
Can anyone help me to solve this problem please.
Thanks.
@Ashish_Mathur
Thank you for your reply.
I need to create this using Summarize Table.
Because I need to read this data in Power Automate.
Thanks.
SUMMARIZE( Sales, Calender[Date], Product[Product Name], "Qty", SUM(Sales[Qty]), "Sales", SUM(Sales[Amount]) )
Thank you for your reply.
This gives me daily details. I need month to date.
Thanks
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 38 | |
| 33 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 66 | |
| 41 | |
| 34 | |
| 25 |