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
ephramz
Helper II
Helper II

Help with measure

ephramz_0-1636976723655.png
When I slice the "Created Date"(which represents the year), Median Actual Time values will change.
The measure is as follows:

Median Actual Time =
SUMX(
ADDCOLUMNS(VALUES('ENGG VW_TRM'[Op. No.]),
"Median Actual Time1",[Median Actual Time1]
),[Median Actual Time1]
)


Median Actual Time1 measure : 

Median Actual Time1 =
VAR compare_ =
IF(DIVIDE([Average Time] - [Median1], [Median1]) >= 0.50 || DIVIDE([Average Time] - [Median1], [Median1]) <= -0.50,1,0)
RETURN
IF(compare_=1,[Average Time] ,[Median1])


How can i alter the Median Actual Time measure such that i can save the different values into a calcualted column for all the Years.

Let's call this table, Table1, where i have all the "Created Date" 

1 REPLY 1
v-janeyg-msft
Community Support
Community Support

Hi, @ephramz 

 

Do you want to calculate MAT with all year in first visual but calculate MAT with the selected year in second visual? 

vjaneygmsft_0-1637289848969.png

Only two measures are meaningless. Can you share some insensitive data samples and expected output? So we can help you soon.

 

Best Regards,
Community Support Team _ Janey

 

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.