Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have simple sales data, each row is equal to one SKU sold, sample:
Date | Client | SKU | Price | Seller |
01.09.2022 | AAA | Item1 | 99 | Seller1 |
01.09.2022 | AAA | Item2 | 109 | Seller1 |
02.09.2022 | BBB | Item1 | 99 | Seller2 |
How to count clinents that orderder above certaint treshold (for example 5000) in each time perion?
Ive alcready done filtering by sellers and by dates, but i have problem with DISTINCTCOUNT funcion.
My atteptes:
1)
Solved! Go to Solution.
Hi @tomekp0
A calculated column is an extension of a table that’s evaluated for each row . A calculated measure is not treated the same as any other table column. Unlike a calculated column, measures are evaluated on the fly with every change in context.
So in your DAX , if you want to get the total sum of orders for each period , you can create a calculated to sum the total , then create a measure to judge with 5000 .
Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @tomekp0
A calculated column is an extension of a table that’s evaluated for each row . A calculated measure is not treated the same as any other table column. Unlike a calculated column, measures are evaluated on the fly with every change in context.
So in your DAX , if you want to get the total sum of orders for each period , you can create a calculated to sum the total , then create a measure to judge with 5000 .
Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |