Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
hello, I have a table where all the sales are per day, in a column I have the invoice numbers that are repeated depending on how many items I buy. My question is this, I want to make a measure where you tell me the amount of sales that were made per day, I pass an image. If someone can help me I would be so thankful
invoice number | date |
1111 | 28/09/2019 |
1111 | 28/09/2019 |
1112 | 28/09/2019 |
1113 | 01/10/2019 |
1114 | 02/10/2019 |
1114 | 02/10/2019 |
Result | |
quantity sold | |
28/09/2019 | 3 |
01/10/2019 | 1 |
02/10/2019 | 1 |
Solved! Go to Solution.
@jdelacrettaz - You could use the built-in Count (Distinct) aggregation. If you really want a measure, then you should be able to do this:
Measure = COUNTROWS(DISTINCT('Table'[invoice number]))
@jdelacrettaz - You could use the built-in Count (Distinct) aggregation. If you really want a measure, then you should be able to do this:
Measure = COUNTROWS(DISTINCT('Table'[invoice number]))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
84 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |