Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Good morning, I am trying to show the minimum per hour of a range of dates, for example for the 21st hour the minimum I want to get is -36.58 or in the case of the 22nd hour get -27.56. The only thing I have obtained is the minimum at the daily level not the set of dates. Attached photo with the table I have:
Solved! Go to Solution.
Hi @Syndicate_Admin ,
Do you want to create the value corresponding to the following condition.
Column =
RANKX (
FILTER ( ALL ( 'Table' ), 'Table'[Hour] = MAX ( 'Table'[Hour] ) ),
'Table'[Value],
,
ASC,
DENSE
)
M =
CALCULATE (
MAX ( 'Table'[Value] ),
FILTER (
ALL ( 'Table' ),
'Table'[Hour] = MAX ( 'Table'[Hour] )
&& 'Table'[Column] = 1
)
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Syndicate_Admin ,
Do you want to create the value corresponding to the following condition.
Column =
RANKX (
FILTER ( ALL ( 'Table' ), 'Table'[Hour] = MAX ( 'Table'[Hour] ) ),
'Table'[Value],
,
ASC,
DENSE
)
M =
CALCULATE (
MAX ( 'Table'[Value] ),
FILTER (
ALL ( 'Table' ),
'Table'[Hour] = MAX ( 'Table'[Hour] )
&& 'Table'[Column] = 1
)
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You would need 1 measure per hour, you could try
Min H21 = MINX( ADDCOLUMNS( ALLSELECTED('Date'[Date]), "@val", [H21]), [@val])
Good, I have already obtained the minimum with the formula that you put me before. Now I would like to make that constant value to include it in other tables and not be modified.
Thanks a lot!
User | Count |
---|---|
84 | |
76 | |
75 | |
43 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |