March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Register NowGet certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi,
I need help here to filter out fields with empty values in either of the task category ( i.e Development or Testing).
Please follow the link below:
https://drive.google.com/drive/u/1/folders/1JA4gspp2Pjx3hy-PZo1QCh1h_KsfeMJP
Thanks,
Hardik
Solved! Go to Solution.
HI @Hardik,
You can use below measure to instead task_id column to achieve filter effect.
Result = VAR _distinct = CALCULATE ( DISTINCTCOUNT ( Tasks[Task_Category] ), FILTER ( ALLSELECTED ( TaskAssignment ), [Emp_ID] IN VALUES ( Employee[Emp_ID] ) && [Date] = MAX ( TaskAssignment[Date] ) ) ) VAR category_count = COUNTROWS ( DISTINCT ( ALLSELECTED ( Tasks[Task_Category] ) ) ) RETURN IF ( _distinct = category_count, COUNT ( TaskAssignment[Task_ID] ) )
Regards,
Xiaoxin Sheng
HI @Hardik,
You can use below measure to instead task_id column to achieve filter effect.
Result = VAR _distinct = CALCULATE ( DISTINCTCOUNT ( Tasks[Task_Category] ), FILTER ( ALLSELECTED ( TaskAssignment ), [Emp_ID] IN VALUES ( Employee[Emp_ID] ) && [Date] = MAX ( TaskAssignment[Date] ) ) ) VAR category_count = COUNTROWS ( DISTINCT ( ALLSELECTED ( Tasks[Task_Category] ) ) ) RETURN IF ( _distinct = category_count, COUNT ( TaskAssignment[Task_ID] ) )
Regards,
Xiaoxin Sheng
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
121 | |
97 | |
87 | |
70 | |
62 |
User | Count |
---|---|
138 | |
116 | |
114 | |
99 | |
98 |