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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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