The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi Everyone,
Here I have Stuck with MIN DATE function from FROMM_DATE ; from mx APBDR we have 3 Same Values of NSP10 and 3 Different Values in FROM_DATE.
I have need only 11-May-20 from that which is MINIMUM of Nsp10.
Solved! Go to Solution.
Hi @SIBI1998 ,
Create a measure like below and add it to visual filter set value = 1.
measure =
IF (
SELECTEDVALUE ( [FROM_DATE] )
= MINX ( ALLEXCEPT ( 'table', [mx apbdr] ), [FROM_DATE] ),
1,
0
)
Best Regards,
Jay
Hi @SIBI1998 ,
Create a measure like below and add it to visual filter set value = 1.
measure =
IF (
SELECTEDVALUE ( [FROM_DATE] )
= MINX ( ALLEXCEPT ( 'table', [mx apbdr] ), [FROM_DATE] ),
1,
0
)
Best Regards,
Jay
Hi @SIBI1998
place this measure in the filter pane of the table visual and select "Is" and inset the value 1 then apply
Filter Measure =
VAR CurrentDate =
MAX ( Table[FROM DATE] )
VAR MinDate =
MINX (
CALCULATETABLE ( ALL ( Table ), ALLEXCEPT ( Table, Table[mx APBDR] ) ),
Table[FROM DATE]
)
RETURN
CurrentDate = MinDate
@SIBI1998 ,please try measure like
minx(filter(allselected(Table), Table[mx APBDR] = max(Table[mx APBDR]) ), Table[FROM_DATE])
or
or min(Table[FROM_DATE])
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
33 | |
13 | |
12 | |
9 | |
7 |