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.
Hi Folks,,
I am trying to create measure to count numbers of Sunday we have more than 50 order numbers.
When I crate measure using following DAX its showing all rows which have orders (total 149 rows have orders) instead of showing only 15 days where I have more than 50 orders as highlighted.
Number_Of_Sundays = CALCULATE(DISTINCTCOUNT('Date'[Date]),
FILTER(Sales,DISTINCTCOUNT(Sales[Order Number])>50 && RELATED('Date'[Week_Day_Num])=1))
Please correct the mistake I doing. I have attched sample file to this post.
Thanks in advance.
BVK
Solved! Go to Solution.
Thanks alot @Ahmedx fro prompt reply.
Yes, you corrected my mistake. That's exactly what I am looking for. I think I need to think bit more than what I am now.
Thanks again.
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 |
---|---|
96 | |
95 | |
82 | |
71 | |
64 |
User | Count |
---|---|
116 | |
106 | |
94 | |
79 | |
72 |