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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
rmeng
Helper II
Helper II

Calculated Column With The Total value of a measure when Slicing different periods

I´m using this measure to add a calculated column, when I select from Dim Date the Quarter Year option, the result is 4 as expected:rmeng_0-1679508311261.png

If I slice by Month Year instead of Quarter Year this Calculated column should be 2 not 4 

rmeng_1-1679508501142.png

I´ve tried to use AllExcept to keep filters from dim date but the result is 1:

rmeng_2-1679508878650.png

Could you help me to find the right calculation ?

Thanks

 
1 ACCEPTED SOLUTION
johnt75
Super User
Super User

Calculated columns are only calculated during data refresh, so they do not pay any attention to filters or slicers which may be set in a report. If you want something to dynamically respond to slicers you need to define it as a measure.

View solution in original post

1 REPLY 1
johnt75
Super User
Super User

Calculated columns are only calculated during data refresh, so they do not pay any attention to filters or slicers which may be set in a report. If you want something to dynamically respond to slicers you need to define it as a measure.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors