cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
iskruger Frequent Visitor
Frequent Visitor

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!Capture.PNG

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
iskruger Frequent Visitor
Frequent Visitor

Re: Help with Measure

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 4
dallen93 Regular Visitor
Regular Visitor

Re: Help with Measure

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! 

iskruger Frequent Visitor
Frequent Visitor

Re: Help with Measure

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!

dallen93 Regular Visitor
Regular Visitor

Re: Help with Measure

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.

iskruger Frequent Visitor
Frequent Visitor

Re: Help with Measure

Thank again!

Helpful resources

Announcements
GregDeckler

How to Get Your Question Answered Quickly

Power BI Super User, Greg Deckler, explains

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Ideas
Users Online
Currently online: 43 members 1,004 guests
Please welcome our newest community members: