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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I need to pull the two most recent dates or if not two the most recent. Green is what I need to keep.
Hi,
If you want a Power Query solution, then share data in a format that can be pasted in an MS Excel file.
@Hollys83 , Create Rank using rank
Rank 1= Rank(Dense, allselected(Table[HHID], Table[Date]) , Orderby (Table[Date], desc),,PARTITIONBY(Table[HHID]) )
Use a visual-level filter for [Rank 1] <=2
Power BI - New DAX Function: RANK - How It Differs from RANKX: https://youtu.be/TjGkF44VtDo
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |