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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
KevBI
Helper I
Helper I

Measure in calculated Column not getting Transformed by Time Filter

I have following problem to solve. 
Spoilage Costs is the sum of costs per Value Stream.
The column AOP is a prediction of costs, that gets put into a excel file for every month.

The Column AOPWD is the calculated column I'm having problems with, the calculation
multiples the column "AOP" with "WDMonth" and divides it with the workdays.
The problem is that the column Workdays is a Measure because it needs to change based on the Filtered Date in the Report.
So in the calculation is having problems with the Measure, is there another way to tackle this problem or am I doing something wrong?
Thank you!

Quality.png

2 REPLIES 2
KevBI
Helper I
Helper I

@amitchandak 
So my calculated Column would look like this : 

AOPWD = 'Spoilage AOP 2022'[AOP] / 'Spoilage AOP 2022'[WDMonth] * [workdays]
I already tried to use a Measure but when using a Measure I couldn'T get a Value for every Column, in my case for every Value Stream.
How would I do that calculation in a Measure so i get the correct output for every Value Stream?
amitchandak
Super User
Super User

@KevBI , You need to create a measure. If you want to use slicer values. So try to create a measure, instead of calculated column

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors