Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi there,
I have data which looks like as follow:
Column A,B, C, D are given.
Solved! Go to Solution.
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.
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.
@Dunner2020 , I would advice convert it into datetime and work with that
#datetime(1970,1,1,0,0,0)+#duration(0,0,0,[Epoch]/1000)
In any time you add time like this in dax
Date + time(10,0,0)
@amitchandak , I don't think so that problem in the datetime format. Its is the requirement that's why I could not merge date with time column. I have updated picture and data for more clarification
User | Count |
---|---|
94 | |
78 | |
73 | |
63 | |
60 |
User | Count |
---|---|
108 | |
101 | |
77 | |
63 | |
61 |