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

Measure value is not right

I have a table with 2 columns [Duration] and [Duration within] both have value 1,2,3,4.

I also have a measure [Durations(Measure)] which get the selection from user.

 

Durations(Measure) = IF(HASONEVALUE('Duration'[Duration]),FIRSTNONBLANK('Duration'[Duration Within],1),1)

Capture.PNG

 

I want to use this measure for my other table column formula.

However, I cannot get the value correct when I write down the formula in this new column.

 

my [Durations(Measure)] measure has value 4, however, when I refer it inside my new column formula [DurationfrMeasureIndex], it is 1.

I am doing some debugging and found out the value of measure become 1.

Is there any problem with formatting?

 

DurationfrMeasureIndex = [Durations(Measure)]*12

 

 

 

 Capture.PNG

sa.PNG

Thank you

11 REPLIES 11

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.