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
naivecalf
Helper III
Helper III

Min function only accepts a column accepts a column reference as the argument number 1

Hi,

 

Tried to use sumx for running total with measure field, but get error,

 

Accu Percentage = sumx(
FILTER(
ALL(Query1),
[Amount] >= MIN([Amount])),
[Percentage])
1 ACCEPTED SOLUTION

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

11 REPLIES 11
Ashish_Mathur
Super User
Super User

Hi,

Share some data, describe the business question and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi @Ashish_Mathur ,

 

please see attached file.

I have a serial list, need to count all column as total amount, and then count column by Type as amount. want to create a P-chart for percentage.  Accumulated amount/Total amount.

Listed a sample.

serial list.jpgSnipaste_2019-08-12_09-11-04.jpg

Hi,

Share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur ,

 

thank you, it is working.

 

Regards

Steven

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi @naivecalf ,

 

We can create meausres as below.

Total amount = CALCULATE(COUNTA('Table'[Item]),ALLSELECTED('Table'))
Amount = CALCULATE(COUNTA('Table'[Item]))
Percentage = DIVIDE([Amount],[Total amount])

Capture.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

@v-frfei-msft ,

 

I already created those measures. now I need to create a new measure or column for Cumulative amount or cumulative percentage.

 

Regards

Steven

Anonymous
Not applicable

Hi @naivecalf ,

 

Don't know how your data looks like. 

But you can refer this post and give a shot.

https://community.powerbi.com/t5/Desktop/Cumulative-Totals-for-measures/m-p/743814#M358599

If this is of not much help than please provide us some sample data.

 

Thanks,

Tejaswi

Hi @Anonymous ,

 

here is my data, 

p-chart.jpg

 

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.