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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
longhorn2009
Frequent Visitor

Month to Date Issue

Hi All,

 

Unfortunately I can't share the reprot but from what I have read this should be easier than I what I have been trying...

I have a calendar table that has dates by location so it has Location X Date 1/1/2022 Location Y Date 1/1/2022 etc. and then I have key that combines those columns so I can use the Location and Date filters to drill down on the three joining tables.

 

longhorn2009_0-1668796094695.png

 

I am trying to get the MTD based on the Date tables filter however it has started ignoring the underlying Location and is stuck on showing everything for MTD.

 

My calculation for MTD is: 

Log Loads Month =
CALCULATE(
    SUM(Operations[LogLoads]),FILTER(ALL('Date'),'Date'[Date]>=MAX('Date'[SOM]) && 'Date'[Date]<=MAX('Date'[Date])))+0
But you can see it stays at 808 despite me changing the location column from the date table:
 
longhorn2009_1-1668796257201.png

 

 

Any idea?

1 ACCEPTED SOLUTION

Hi @longhorn2009 ,

 

Slicers values can't change Calculated columns value.

Please check that whether the "Log Loads Month" in your sample is a calculated column, if so, please use a measure and try again.

vxiaosunmsft_0-1669024257439.png

 

Best Regards,
Community Support Team _ xiaosun

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

View solution in original post

2 REPLIES 2
longhorn2009
Frequent Visitor

The correct value for Bay Springs should be 312 based on the far left column in the image above.

Hi @longhorn2009 ,

 

Slicers values can't change Calculated columns value.

Please check that whether the "Log Loads Month" in your sample is a calculated column, if so, please use a measure and try again.

vxiaosunmsft_0-1669024257439.png

 

Best Regards,
Community Support Team _ xiaosun

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.