Question 161 · 358 in bank
You have a Power BI model that contains a table named Sales. The Sales table contains the following columns: • Order Line ID • Product ID • Unit Price • Order ID • Quantity Orders are uniquely identified by using the order ID and can have multiple order lines. Each order line within an order contains a different product ID. You need to write a DAX measure that counts the number of orders. Which formula should you use?
Show answer
Answer: D
Explanation
"Orders are uniquely identified by using the order ID and can have multiple order lines" - I think the important statement is "and can have multiple order lines" which means that the order ID can appear more than once in the table if the order contains more than one products - so I think the answer is correct.
Source: Adapted from community discussion — Maria86


