This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I hope you can help me.
I have a table with number of sale id, sales ammount, date and client. I need to make a table visualization with each client and the last 3 sales to each client.
Do you know how can I do this?
Thank you very much.
Best regards,
Lucía
Solved! Go to Solution.
Hi @lmiguez
Try adding a RANK calculated column....(RANKING transactions for each CLIENT by date)
Then you can choose RANK(1,2,3) as your filters
RANK =
RANKX (
FILTER ( Table1, Table1[Client] = EARLIER ( Table1[Client] ) ),
Table1[Date],
,
DESC,
DENSE
)
May be you can use this RANK measure and use it as a VISUAL filter for top3
Please see attached file as well
RANK Measure =
RANKX (
FILTER (
ALLSELECTED ( Table1 ),
Table1[Client] = SELECTEDVALUE ( Table1[Client] )
),
CALCULATE ( MAX ( Table1[Date] ) ),
,
DESC,
DENSE
)
Hi @lmiguez
Try adding a RANK calculated column....(RANKING transactions for each CLIENT by date)
Then you can choose RANK(1,2,3) as your filters
RANK =
RANKX (
FILTER ( Table1, Table1[Client] = EARLIER ( Table1[Client] ) ),
Table1[Date],
,
DESC,
DENSE
)
Thanks for your reply. It works perfectly but I need to do this through a measure because I need to interact with date slicer.
Do you know how can I do that?
Best regards,
Lucía
May be you can use this RANK measure and use it as a VISUAL filter for top3
Please see attached file as well
RANK Measure =
RANKX (
FILTER (
ALLSELECTED ( Table1 ),
Table1[Client] = SELECTEDVALUE ( Table1[Client] )
),
CALCULATE ( MAX ( Table1[Date] ) ),
,
DESC,
DENSE
)
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 26 | |
| 25 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 42 | |
| 41 | |
| 40 | |
| 21 | |
| 20 |