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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Sean_DG
New Member

Month offset showing a data in other months

Hello, trying to adjust a measure made on an existing report to only show full months. There is a month offset built into the date calendar but using that results in data being posted for the rest of the calendar. I'm suspecting it's due to the MAX and MIN dates within the base measure but I'm a bit unfamiliar with this one.

 

Here is the table. As you can see there is extra data being shown for months after July

Sean_DG_1-1659635996853.png

Here are the current dax formulas

 

Avg Amount Won =
VAR MaxDate = MAX(Dates[Date])
Var MinDate = MIN(Dates[Date])
Var Result =
CALCULATE(AVERAGE(Opportunity[Estimated_Total_Revenue__c]),DATESBETWEEN('Opportunity Field History'[EditDate],MinDate,MaxDate),
'Opportunity Field History'[Field]="StageName",
AND('Opportunity Field History'[OldValue]<>"Closed Won",
'Opportunity Field History'[OldValue]<>"Execute"),
OR('Opportunity Field History'[NewValue]="Closed Won",
'Opportunity Field History'[NewValue]="Execute"))
Return
Result
 
Avg Amount Won CY - 1M = calculate([Avg Amount Won],Dates[Fiscal Year]=2023&&Dates[Month Offset]<0)
 
Appreciate the help!
1 REPLY 1
johnt75
Super User
Super User

I would look into why you have a row with blank for a Month name, it seems that you may have some data which does not have a date set. As the same value is showing for blank month as is showing for the months in the future, I think if you fix the underlying data that will fix your problem

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors