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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi Experts if you can see these are 3 different accounts combined to one gl account, how can I split this into different sheets so that I can take a better report
Solved! Go to Solution.
Hi @thobenjo ,
As I do not have your specific data, I have created similar data for your reference.
First ,create index by power query:
Then create the below index:
rank =
IF (
'Table'[Column1] = "Expenditure",
RANKX (
FILTER (
'Table',
'Table'[Column1] = EARLIER ( 'Table'[Column1] )
&& 'Table'[Column1] = "Expenditure"
),
'Table'[Index],
,
ASC
),
0
)
test1 = CALCULATE(MAX('Table'[rank]),FILTER(ALL('Table'),'Table'[Index]<=EARLIER('Table'[Index])))
According new column ,create table:
Table2 = CALCULATETABLE('Table','Table'[test1]=1)
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
Hi @thobenjo ,
As I do not have your specific data, I have created similar data for your reference.
First ,create index by power query:
Then create the below index:
rank =
IF (
'Table'[Column1] = "Expenditure",
RANKX (
FILTER (
'Table',
'Table'[Column1] = EARLIER ( 'Table'[Column1] )
&& 'Table'[Column1] = "Expenditure"
),
'Table'[Index],
,
ASC
),
0
)
test1 = CALCULATE(MAX('Table'[rank]),FILTER(ALL('Table'),'Table'[Index]<=EARLIER('Table'[Index])))
According new column ,create table:
Table2 = CALCULATETABLE('Table','Table'[test1]=1)
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 11 | |
| 10 | |
| 10 | |
| 10 |
| User | Count |
|---|---|
| 59 | |
| 45 | |
| 37 | |
| 27 | |
| 25 |