Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I am stuck at this SUMIF function and can't get a clue to convert in dax. Can anyone explain me in words the meaning of this Statement and how to replicate in PowerBI?
=(SUMIFS(O:O,K:K,">="&W2,K:K,"<="&EOMONTH(W2,0)))/(SUMIFS(L:L,K:K,">="&W2,K:K,"<="&EOMONTH(W2,0)))
Solved! Go to Solution.
Hi @Abhijsrwala1,
It seems like a calculator to divide between two conditions sum calculations. You can try to use sumx function to aggregate records with conditions.
formula =
DIVIDE (
SUMX ( FILTER ( Table1, condtion ), [Column] ),
SUMX ( FILTER ( Table2, condtion2 ), [Column2] )
)
If the above formula is not hlep, can you please share some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
Hi @Abhijsrwala1,
It seems like a calculator to divide between two conditions sum calculations. You can try to use sumx function to aggregate records with conditions.
formula =
DIVIDE (
SUMX ( FILTER ( Table1, condtion ), [Column] ),
SUMX ( FILTER ( Table2, condtion2 ), [Column2] )
)
If the above formula is not hlep, can you please share some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
CALCULATE(SUM(), FILTER(table, condition))
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
9 | |
9 | |
6 | |
5 |
User | Count |
---|---|
19 | |
18 | |
9 | |
9 | |
8 |