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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi everyone,
I have a problem and cannot solve
We have 2 offline shops, Shop A and Shop B, every shop have its own sales sorted by date.
I want to index that sales by date and by shop.
example:
Shop name Date Index
Shop A 15/12/18 12:14 1
Shop B 15/12/18 13:55 1
Shop A 15/12/18 19:00 2
Shop A 16/12/18 10:11 3
Shop A 16/12/18 10:14 4
Shop B 16/12/18 14:20 2
Shop A 16/12/18 18:30 5
Shop B 17/12/18 17:50 3
Shop A 18/12/18 12:01 6
......
Thanks for any help
Solved! Go to Solution.
@Anonymous
One way could be to use a calculated column
Column = RANKX ( FILTER ( Table1, [Shop name] = EARLIER ( [Shop name] ) ), [Date],, ASC )
@Anonymous
One way could be to use a calculated column
Column = RANKX ( FILTER ( Table1, [Shop name] = EARLIER ( [Shop name] ) ), [Date],, ASC )
thank you, appreciate
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 59 | |
| 42 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 109 | |
| 101 | |
| 39 | |
| 29 | |
| 29 |