Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sameer_K
Regular Visitor

to show Running count of account number in Drill through report

We have a drill through report for account details and in that we  wanted to show the running count of account number by account holder name. I tried using Quick measure but in that way its not showing the drill through report. Any suggestions ?

 

Thanks you in advance 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @sameer_K ,

 

You can try the following steps:
1. Create a calculated column.

Column =
RIGHT('Table'[Claim Number],3)

vkaiyuemsft_0-1734423038844.png

 

2. create the measure.

RunningCount =
CALCULATE(
COUNTROWS('Table'),
FILTER(
ALLSELECTED('Table'),
'Table'[Bank] = MAX('Table'[Bank]) &&
'Table'[Column] <= MAX('Table'[Column])
)
)

 

vkaiyuemsft_1-1734423046613.png

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hi @sameer_K ,

 

You can try the following steps:
1. Create a calculated column.

Column =
RIGHT('Table'[Claim Number],3)

vkaiyuemsft_0-1734423038844.png

 

2. create the measure.

RunningCount =
CALCULATE(
COUNTROWS('Table'),
FILTER(
ALLSELECTED('Table'),
'Table'[Bank] = MAX('Table'[Bank]) &&
'Table'[Column] <= MAX('Table'[Column])
)
)

 

vkaiyuemsft_1-1734423046613.png

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.

sameer_K
Regular Visitor

 Please find the sample data and end result snap below 

sameer_K_0-1734352172619.png

 

Anonymous
Not applicable

Hi @sameer_K ,

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.

 

 

Best Regards,

Clara Gong

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.

Thanks for the reply Clara... Sample data and end results are as below 

sameer_K_0-1734352586194.png

 

danextian
Super User
Super User

hi @sameer_K

What is a "running count of account number by account holder name"? Is that the distinct account numbers under the same accoun holder or a cumulative count over several time periods?

 

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Idrissshatila
Super User
Super User

Hello @sameer_K ,

 

you create a measure to count the running accounts as follows:

 

Account Count = DISTINCTCOUNT(TableName[AccountNumber])


Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.