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 trying to create a sumifs funtion in DAX, here is what I have so far
Solved! Go to Solution.
Hi @dax_questions13 ,
You need to declare the requirement of the first filter in your context as highligted below. Also I recommend that you use <>BLANK() as opposed to <>"" or you could use NOT ISBLANK(ColumnName)
SUMIF = CALCULATE(SUM('Table1'[Count]),FILTER('Table1','Table1'[Key] && 'Table1'[Values] <> ""))
Hope this helps
Did I help you today? Please accept my solution and hit the Kudos button.
Hi @dax_questions13 ,
You need to declare the requirement of the first filter in your context as highligted below. Also I recommend that you use <>BLANK() as opposed to <>"" or you could use NOT ISBLANK(ColumnName)
SUMIF = CALCULATE(SUM('Table1'[Count]),FILTER('Table1','Table1'[Key] && 'Table1'[Values] <> ""))
Hope this helps
Did I help you today? Please accept my solution and hit the Kudos button.
That was helpful. <> Blank () did the trick. Thank you.
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 |
---|---|
79 | |
78 | |
57 | |
37 | |
34 |
User | Count |
---|---|
99 | |
56 | |
56 | |
46 | |
40 |