Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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 |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
42 |