Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
DSwezey
Helper III
Helper III

[URGENT]!!!!!! Sum of value with month condition

Okay so I have a Monthly Sales Goals table with Sales Goal Amount, Month (as Text), and Month Number (Manual If statements giving each month a num of 1-12 since Month is just text from the excel file).

 

DSwezey_0-1636738011352.png

 

Within my Calendar table I have MonthNum, and a measure named "Selected Date'= MAX('Date'[Date])

 

I want to create a measure that will output the Sales Goal Amount for each Sales Rep for my current selected month.

 

For example, if I select 3/15/2021 I want to be able to output $3,000.00 for Chris.

 

2 REPLIES 2
v-angzheng-msft
Community Support
Community Support

Hi, @DSwezey 

 

Could you please consdier sharing more details about it and posting expected result so it is clear on what needs to be implemented?  And It would be great if there is a sample file without any sesentive information here. It makes it easier to give you a solution.

 

  1. Sample (dummy dataset) data as text, use the table tool in the editing bar
  2. Expected output from sample data
  3. Explanation in words of how to get from 1. to 2.

 

 

Best Regards,
Community Support Team _ Zeon Zheng

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

You need more than Month. You also need a Year column.  Then find the right row with 

 

Year(row)=Year(SelectedDate) and Month(row)=Month(SelectedDate)

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.