March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
Is there any way to get selected latest value?
Hope to see W13 is selected, then when W14 updated then W14 selected, ...
Solved! Go to Solution.
Hi @jeongkim
Certainly that can be realized, please try this:
First of all, I create a set of sample:
Then add a calculate column:
Column =
VAR _NumTable =
SELECTCOLUMNS (
'Sheet1',
'Sheet1'[Column1],
"Num", VALUE ( MID ( 'Sheet1'[Column1], 2, 2 ) )
)
RETURN
IF (
MAXX ( _NumTable, [Num] ) = VALUE ( MID ( 'Sheet1'[Column1], 2, 2 ) ),
"last",
'Sheet1'[Column1]
)
This column can choose the max value and mark as the "Last" one:
Next add a slicer and select the last:
Finally if add a W16, the result is as follow:
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @jeongkim
Certainly that can be realized, please try this:
First of all, I create a set of sample:
Then add a calculate column:
Column =
VAR _NumTable =
SELECTCOLUMNS (
'Sheet1',
'Sheet1'[Column1],
"Num", VALUE ( MID ( 'Sheet1'[Column1], 2, 2 ) )
)
RETURN
IF (
MAXX ( _NumTable, [Num] ) = VALUE ( MID ( 'Sheet1'[Column1], 2, 2 ) ),
"last",
'Sheet1'[Column1]
)
This column can choose the max value and mark as the "Last" one:
Next add a slicer and select the last:
Finally if add a W16, the result is as follow:
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
There always should be the word 'Last' or something text, right?
Still good approach.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
85 | |
69 | |
54 | |
45 |
User | Count |
---|---|
204 | |
105 | |
98 | |
65 | |
54 |