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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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