Forum Discussion
Microblog321
4 years agoFrequent Visitor
Unmatched Row count with aggregation with Region
Hello Friends, Please help me, I am new to Power bi and looking for the desired output for a week now but no luck, I have 5 tables in which 3 are dimtable (Dim_date,Dim_Taskid,...
- 4 years ago
Hi Microblog321 ,
Please check if this could meet your requirements:
unmatched Taskid Count = VAR t = DISTINCT ( SUMMARIZE ( EXCEPT ( SUMMARIZE ( 'Table 1', 'Table 1'[Taskid], 'Table 1'[Region] ), SUMMARIZE ( 'Table 2', 'Table 2'[Taskid], 'Table 2'[Region] ) ), [Taskid] ) ) RETURN COUNTX ( t, [Taskid] )matched Taskid Count = VAR t = DISTINCT ( SUMMARIZE ( INTERSECT ( SUMMARIZE ( 'Table 1', 'Table 1'[Taskid], 'Table 1'[Region] ), SUMMARIZE ( 'Table 2', 'Table 2'[Taskid], 'Table 2'[Region] ) ), [Taskid] ) ) RETURN COUNTX ( t, [Taskid] )Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Microblog321
4 years agoFrequent Visitor
Can someone please help me
Microblog321
4 years agoFrequent Visitor
can someone please help