Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi All,
I've got the following dataset. I'm trying to find a formula that would help me keep the oldest PO Age value but a distinct value in the can_clear_backorders column.
As an example the first 2 PO Numbers serve the same purpose however i would like to show only the oldest one (based on PO Age column).
Any help much appreciated.
Solved! Go to Solution.
Hi @georgec96
Please try
Max PO Age =
VAR CurrentPOAge =
MAX ( TableName[PO Age] )
VAR MaxPOAge =
CALCULATE (
MAX ( TableName[PO Age] ),
ALLEXCEPT ( TableName, TableName[Desctription] )
)
RETURN
IF ( CurrentPOAge = MaxPOAge, MaxPOAge )
Hi @tamerj1 , sorry to be a pain but this is not giving me the expected result as you can see.
Is there any way I can create maybe a new table that would give me distinct values in the column Description but keep the highest value in the PO Age column?
Hi @georgec96
Please try
Max PO Age =
CALCULATE (
MAX ( TableName[PO Age] ),
ALLEXCEPT ( TableName, TableName[Desctription] )
)
Hi @tamerj1 ,
Any idea how can i make the table visual not to duplicate the values?
It's still showing the same as before after applying formula you provided.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
13 | |
11 | |
10 | |
10 |