Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hello,
i have this script
Solved! Go to Solution.
@cristianj , Not very clear. One option is have rank on order date
a new column
Rank = ranxk(filter(Table, [buyer_id] =earlier([buyer_id]) ) , [Order date],,asc,dense)
If you are to bucket the occurrence of measure, then you need dynamic segmentation
Dynamic segmentation -Measure to Dimension conversion: https://youtu.be/gzY40NWJpWQ
@cristianj , Not very clear. One option is have rank on order date
a new column
Rank = ranxk(filter(Table, [buyer_id] =earlier([buyer_id]) ) , [Order date],,asc,dense)
If you are to bucket the occurrence of measure, then you need dynamic segmentation
Dynamic segmentation -Measure to Dimension conversion: https://youtu.be/gzY40NWJpWQ
Hello,
can you help me with one more filter , i need also thet order_state_id=3
| id | buyer_id | order_stateId | |
| 1 | asx | 1 | |
| 2 | asx | 3 | 1 |
| 3 | azt | 1 | |
| 4 | azt | 2 | |
| 5 | azt | 3 | 1 |
| 6 | asx | 1 | |
| 7 | art | 1 | |
| 8 | azt | 2 | |
| 9 | art | 3 | 1 |
| 10 | asx | 3 | 2 |
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 22 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 37 | |
| 31 | |
| 27 |