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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

We need to calculate the number of orders.

We need to calculate the number of orders.

Create

a calculated measure that uses the COUNTA(Order_ID) DAX formula?

OR

a calculated measure that uses the SUM (Order_ID) DAX formula?

OR

a calculated column that uses the SUM (Order_ID) DAX formula?

OR

a calculated column that uses the COUNTA (Order_ID) DAX formula?

 

which one is right?

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi buddy,

 

Try use a measure with:

DISTINCTCOUNT([NoORDER])

this would give you the number of distinct Nº of orders.

 

Any questions, ask 😉

View solution in original post

Hi,

The first one is correct.


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

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi buddy,

 

Try use a measure with:

DISTINCTCOUNT([NoORDER])

this would give you the number of distinct Nº of orders.

 

Any questions, ask 😉

Anonymous
Not applicable


@Anonymous wrote:

Hi buddy,

 

Try use a measure with:

DISTINCTCOUNT([NoORDER])

this would give you the number of distinct Nº of orders.

 

Any questions, ask 😉


Thanks for answer. Can you explain which is correct from below 1 and 2?

 

1 a calculated measure that uses the COUNTA(Order_ID) DAX formula?

OR

2 a calculated measure that uses the SUM (Order_ID) DAX formula?

OR

a calculated column that uses the SUM (Order_ID) DAX formula?

OR

a calculated column that uses the COUNTA (Order_ID) DAX formula?

Hi,

The first one is correct.


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

A simple 

Measure = DISTINCTCOUNT(order ID)  should do the trick.
 
Or you can just drag your column of ORDER ID directly into a visual and have it display the count or distinct count of the values.
 
cheers

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors