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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

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 @Anonymous ,

 

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
Anonymous
Not applicable

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

Hi @Anonymous ,

 

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.