Forum Discussion

AUDISU's avatar
AUDISU
Resolver III
3 years ago

Create Summarize Table Using Dim and Fact Tables

Hi power bi experts.

I am tring to create a summarize table in power bi. 
My sample tables are.

Calender Table

DateYearMonth
1/01/202320231
2/01/202320231
3/01/202320231
4/01/202320231
5/01/202320231
6/01/202320231

 

Product Table

Product IDProdct Name
1AA
2AB
3AC
4AD

 

Sales Table

DateProduct IDQtyAmount
5/01/202315120
10/01/20232250
12/01/2023110240
20/01/202335150

 

I need to create a Month to Date summary table as follow.

Expected Table

DateProductQtySales
31/01/2023AA15360
31/01/2023AB250
31/01/2023AC5150

 

Can anyone help me to solve this problem please.

Thanks.

4 Replies

  • DiKi-I's avatar
    DiKi-I
    Post Partisan

    SUMMARIZE( Sales, Calender[Date], Product[Product Name], "Qty", SUM(Sales[Qty]), "Sales", SUM(Sales[Amount]) )

    • AUDISU's avatar
      AUDISU
      Resolver III

      DiKi-I 

      Thank you for your reply.
      This gives me daily details. I need month to date.
      Thanks

    • AUDISU's avatar
      AUDISU
      Resolver III

      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.