Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowGet certified as a Fabric Data Engineer: Check your eligibility for a 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700. Get started
Buenas! Tengo una consulta respecto de cómo resolver lo siguiente: estoy trabajando sobre un sistema de ventas en el que necesito identificar la cantidad de ventas (o pedidos) realizados. Tengo una columna "Row ID", que es el contador de los productos vendidos, y otra como "Order ID", asociando un número de orden. Lo que necesito es saber cuántos pedidos se hicieron.
Solved! Go to Solution.
COUNTROWS(VALUES([Order ID]))
Or use the implicit measure "Count (Distinct)" on the Order ID column.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
Hola! Dejo este ejemplo: en este sistema de ventas, tengo 9 productos vendidos (Row ID) en 4 ventas realizadas (hay solo 4 Order ID distintos, ya que hay órdenes de múltiples productos). Yo necesito identificar la cantidad de ventas realizadas (en un archivo de 9800 productos vendidos)
Row ID (Enumeración de productos vendidos) | Order ID (ID de la venta) |
1 | CA-2017-152156 |
2 | CA-2017-152156 |
3 | CA-2017-138688 |
4 | US-2016-108966 |
5 | US-2016-108966 |
6 | CA-2015-115812 |
7 | CA-2015-115812 |
8 | CA-2015-115812 |
9 | CA-2015-115812 |
COUNTROWS(VALUES([Order ID]))
Or use the implicit measure "Count (Distinct)" on the Order ID column.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
22 | |
17 | |
16 | |
11 | |
7 |
User | Count |
---|---|
26 | |
25 | |
12 | |
12 | |
12 |