Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
PP_Freshman
New Member

[Question] How to replicate Excel SUMIFS Function?

Summary

Table 1 (2400+ rows) in Power Query Editor contains the below data:

  • Type
  • Category (e.g. Accessory, Technology)
  • Sub-Category (e.g. Laptop, Mobile Phone)
  • Purchase - Year
  • Delivered? (e.g. No, Yes).

 

Output in Power Query Editor

  • Create a new Table (connected to Table 1).

Replicate SUMIFS Function (i.e. from Excel) to:

  • Create two Columns
    • Total Sales (£)
    • Total Quantity of Sales
  • SUMIFS based on Table 1. For example:
    • Where Type = "A"
    • AND Category = "Technology"
    • AND Sub-Category = "Laptop"
    • AND Purchase - Year = "2023"
    • AND Delivered = "Yes"

Example of Desired Result

Desired_Result.PNG

 

 

 

 

 

 

Thank you!

 

1 REPLY 1
Ahmedx
Super User
Super User

could you share your pbix-file? Or create an example file which reproduces your issue?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.