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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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