Forum Discussion
Help with Measure
Hi Gang,
Could use a little help developing the following measure:
I'm trying to sum the row values in COLUMN3 when the values in COLUMN2 are greater than 1.
I'm pretty new to BI and would appreciate any help with the above.
Thanks in advance for your help!
Hi Dallen,
Thanks so much for the quick response. The conditional sum measure worked perfectly.
Additionally, I will be using a slicer on COLUMN2 and could use additional help adding that feature to the measure.
Thanks again!
4 Replies
- AnonymousNot applicable
Hi iskruger - Welcome to Power BI and the Power BI Community!
I'm relatively new to Power BI so I hope this is helpful. When creating your measure try the following after clicking the "New Measure" button:Conditional Sum = CALCULATE(SUM(TableName[COLUMN3]), TableName[COLUMN2] > "1")
The logic here, in human readable terms, calculates the sum of the rows in column 3 where the rows in column 2 are greater than 1.
I hope this helps!
- iskrugerFrequent Visitor
Hi Dallen,
Thanks so much for the quick response. The conditional sum measure worked perfectly.
Additionally, I will be using a slicer on COLUMN2 and could use additional help adding that feature to the measure.
Thanks again!
- AnonymousNot applicable
Glad to hear it worked!
I'm uncertain what the rules are for continuing to post on a thread once the original question has been solved. I think you're okay to continue posting on this thread for myself and others in the community to see.
Also, I'd encourage you to search the forums before you post. In my experience, I've found that the answers to my questions are already here, I just needed to put together the right search terms.