Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I have seen a lot of posts on this, however all are about creating a calculated column, which i dont think can work in my case.
I have two measures:
Solved! Go to Solution.
Try something like this:
Measure = sumx(filter(sales,AND([Count of sales per week]>1 ,[promoted sales percentage]>0.8)),performance )
Paul Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Try something like this:
Measure = sumx(filter(sales,AND([Count of sales per week]>1 ,[promoted sales percentage]>0.8)),performance )
Paul Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@natabird3 , Try like
calculate(sum(sales[sales]) filter(sales,AND([Count of sales per week]>1 ,[promoted sales percentage]>0.8)))
Unfortunately, this is giving me the sum of the sales, while what i need is the sum of the count. So for instance i have 10 stores, 2 of them were meeting the set criteria for sales per week and promoted sales %, so i would like to get the number 2 as the output of my measure. Hope this makes sense, tahnsk for the quick reply.
User | Count |
---|---|
93 | |
83 | |
77 | |
71 | |
65 |
User | Count |
---|---|
114 | |
101 | |
96 | |
65 | |
60 |