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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Luke_Howells
Helper I
Helper I

SUMIFS Table in Power BI

Hi, I have the below table set up in Excel which has a starting figure and then the subsequent months as formula driven. I'll post the formula below also. Is it possible to set this up in Power BI rather than having a spreadsheet specifically for this? It's not the most ideal solution at the moment. Any help is greatly appreciated.

 

Table.JPG

 

This is the formula from Cell C4. This continues in the table with the reference changing for cells A4 (Month) and B4 (Division). 

 

=SUM(SUMIFS('[CRM Won_Lost KPI''s.xlsm]Won Lost Pending 2019'!$O:$O,'[CRM Won_Lost KPI''s.xlsm]Won Lost Pending 2019'!$C:$C,B4,'[CRM Won_Lost KPI''s.xlsm]Won Lost Pending 2019'!$Y:$Y,">="&A4,'[CRM Won_Lost KPI''s.xlsm]Won Lost Pending 2019'!$Y:$Y,"<="&EOMONTH(A4,0),'[CRM Won_Lost KPI''s.xlsm]Won Lost Pending 2019'!$G:$G,">="&$E$1,'[CRM Won_Lost KPI''s.xlsm]Won Lost Pending 2019'!$I:$I,{"Pending","Won"}),C2)

 

 

1 REPLY 1
Greg_Deckler
Super User
Super User

@Luke_Howells You can find most Excel to DAX translations here: Excel to DAX Translation - Microsoft Power BI Community

 

Otherwise, need sample data as text.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.