Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
table is like given below
APP NAME USER ID
APP_A P1001
APP_A P1002
APP_A P1003
APP_A P1004
APP_B P1001
APP_B P1002
APP_B P1003
APP_C P1001
APP_C P1002
APP_C P1004
APP_D P1001
APP_D P1002
APP_D P1004
APP_D P1005
need result like, common users from all applications
Sample result
APP NAME USER ID
APP_A P1001
APP_A P1002
APP_B P1001
APP_B P1002
APP_C P1001
APP_C P1002
APP_D P1001
APP_D P1002
Solved! Go to Solution.
Yes, this worked. Thanks a ton!!
Hi @KP_PB ,
You could create a column as below and use it as filter on visual:-
Common_user =
VAR _dist_app =
DISTINCTCOUNT ( 'Table'[APP N] )
VAR _com_user =
COUNTROWS ( FILTER ( 'Table', 'Table'[USER ] = EARLIER ( 'Table'[USER ] ) ) )
RETURN
IF ( _com_user = _dist_app, "Y", "N" )
Output:-
File for reference:-
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi Samarth,
Please, Can you explain how this statement evaluates. Thanks.
FILTER ( 'Table', 'Table'[USER ] = EARLIER ( 'Table'[USER ] )
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
90 | |
89 | |
79 | |
69 | |
68 |
User | Count |
---|---|
222 | |
128 | |
117 | |
82 | |
77 |