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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors