Forum Discussion

animale0913's avatar
animale0913
Regular Visitor
2 years ago
Solved

how to sum values on 3 different category per date

Good day! Please help me with my concern, I have data below which i want to get the sum on their 3 different category per date

 

LANESERVICECLASSTRANSACTIONSPRODUCTIONSPROD_DATE
AIRFORWARDINGIMPORT200250008/31/2024
AIRFORWARDINGIMPORT125100008/31/2024
AIRFORWARDINGIMPORT5050009/31/2024
AIRFORWARDINGIMPORT75200009/31/2024
AIRBROKERAGEEXPORT200190008/31/2024
AIRBROKERAGEEXPORT175100008/31/2024
AIRBROKERAGEEXPORT6050009/31/2024
AIRBROKERAGEEXPORT75200009/31/2024
SEAFORWARDINGIMPORT130250008/31/2024
SEAFORWARDINGIMPORT95100008/31/2024
SEAFORWARDINGIMPORT50120009/31/2024
SEAFORWARDINGIMPORT25160009/31/2024
SEABROKERAGEEXPORT200250008/31/2024
SEABROKERAGEEXPORT90100008/31/2024
SEABROKERAGEEXPORT3540009/31/2024
SEABROKERAGEEXPORT75170009/31/2024

 

Desired Output

LANESERVICECLASSTOTAL TRANSACTIONTOTAL PRODUCTIONSPROD DATE
AIRFORWARDINGIMPORT325350008/31/2024
AIRFORWARDINGIMPORT125250009/31/2024
AIRBROKERAGEEXPORT375290008/31/2024
AIRBROKERAGEEXPORT135250009/31/2024
SEAFORWARDINGIMPORT225350008/31/2024
SEAFORWARDINGIMPORT75280009/31/2024
SEABROKERAGEEXPORT290350008/31/2024
SEABROKERAGEEXPORT110210009/31/2024

 

Thanks in advance!

  • animale0913 

    For your desired result

    You do not need to do anything for your desired result. Leverage implicit measures feature.

    Just add all the required columns into the Table visual and make sure you added 'Sum' aggregation on numeric columns TRANSACTIONS and PRODUCTIONS and Thats it! 


    Need a Power BI Consultation? Hire me on Upwork

     

     

     

    Connect on LinkedIn

     

     

     








    Did I answer your question? Mark my post as a solution!
    If I helped you, click on the Thumbs Up to give Kudos.

    Proud to be a Super User!


2 Replies

  • animale0913 

    For your desired result

    You do not need to do anything for your desired result. Leverage implicit measures feature.

    Just add all the required columns into the Table visual and make sure you added 'Sum' aggregation on numeric columns TRANSACTIONS and PRODUCTIONS and Thats it! 


    Need a Power BI Consultation? Hire me on Upwork

     

     

     

    Connect on LinkedIn

     

     

     








    Did I answer your question? Mark my post as a solution!
    If I helped you, click on the Thumbs Up to give Kudos.

    Proud to be a Super User!


    • animale0913's avatar
      animale0913
      Regular Visitor

      Thank you for your reply, another question is what if i want it to be in matrix format like below;

       

       EXPORTIMPORT
       FORWARDINGBROKERAGEFORWARDINGBROKERAGE
      PROD_DATETRANSACTIONSPRODUCTIONSTRANSACTIONSPRODUCTIONSTRANSACTIONSPRODUCTIONSTRANSACTIONSPRODUCTIONS
      8/31/2024        
      9/31/2024