Forum Discussion
Maximum Value for measure
- 5 years ago
Hi, Dunner2020
It’s my pleasure to answer for you.
Your data seems a bit confusing, but I still try to calculate the maximum(range is 24h)value from your data, First create an index table,then create a measure
Like this:
First create an index tableMeasure 2 = MAXX ( FILTER ( ALL ( 'Table' ), [Index] >= SELECTEDVALUE ( 'Table'[Index] ) && [Index] <= SELECTEDVALUE ( 'Table'[Index] ) + 23 ), 'Table'[Past 24 hrs Values] )If it doesn’t solve your problems, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, Dunner2020
It’s my pleasure to answer for you.
Your data seems a bit confusing, but I still try to calculate the maximum(range is 24h)value from your data, First create an index table,then create a measure
Like this:
First create an index table
Measure 2 =
MAXX (
FILTER (
ALL ( 'Table' ),
[Index] >= SELECTEDVALUE ( 'Table'[Index] )
&& [Index]
<= SELECTEDVALUE ( 'Table'[Index] ) + 23
),
'Table'[Past 24 hrs Values]
)If it doesn’t solve your problems, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.